Enum nlopt::Algorithm

source ·
#[repr(u32)]
pub enum Algorithm {
Show 44 variants Direct = 0, DirectL = 1, DirectLRand = 2, DirectNoscal = 3, DirectLNoscal = 4, DirectLRandNoscal = 5, OrigDirect = 6, OrigDirectL = 7, Crs2Lm = 19, GMlsl = 38, GMlslLds = 39, GnMlsl = 20, GdMlsl = 21, GnMlslLds = 22, GdMlslLds = 23, StoGo = 8, StoGoRand = 9, Isres = 35, Esch = 42, Cobyla = 25, Bobyqa = 34, Newuoa = 26, NewuoaBound = 27, Praxis = 12, Neldermead = 28, Sbplx = 29, Mma = 24, Slsqp = 40, Lbfgs = 11, LbfgsNocedal = 10, LdVar1 = 13, LdVar2 = 14, TNewton = 15, TNewtonRestart = 16, TNewtonPrecond = 17, TNewtonPrecondRestart = 18, Auglag = 36, AuglagEq = 37, LnAuglag = 30, LdAuglagEq = 33, LdAuglag = 31, LnAuglagEq = 32, Ccsaq = 41, Ags = 43,
}

Variants§

§

Direct = 0

§

DirectL = 1

§

DirectLRand = 2

§

DirectNoscal = 3

§

DirectLNoscal = 4

§

DirectLRandNoscal = 5

§

OrigDirect = 6

§

OrigDirectL = 7

§

Crs2Lm = 19

§

GMlsl = 38

§

GMlslLds = 39

§

GnMlsl = 20

§

GdMlsl = 21

§

GnMlslLds = 22

§

GdMlslLds = 23

§

StoGo = 8

§

StoGoRand = 9

§

Isres = 35

§

Esch = 42

§

Cobyla = 25

§

Bobyqa = 34

§

Newuoa = 26

§

NewuoaBound = 27

§

Praxis = 12

§

Neldermead = 28

§

Sbplx = 29

§

Mma = 24

§

Slsqp = 40

§

Lbfgs = 11

§

LbfgsNocedal = 10

§

LdVar1 = 13

§

LdVar2 = 14

§

TNewton = 15

§

TNewtonRestart = 16

§

TNewtonPrecond = 17

§

TNewtonPrecondRestart = 18

§

Auglag = 36

§

AuglagEq = 37

§

LnAuglag = 30

§

LdAuglagEq = 33

§

LdAuglag = 31

§

LnAuglagEq = 32

§

Ccsaq = 41

§

Ags = 43

Trait Implementations§

source§

impl Clone for Algorithm

source§

fn clone(&self) -> Algorithm

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Algorithm

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for Algorithm

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.