Skip to main content

GamsSnoptOptions

Struct GamsSnoptOptions 

Source
pub struct GamsSnoptOptions {
    pub raw: Vec<String>,
    /* private fields */
}
Expand description

Options for GAMS/SNOPT. Reference: https://www.gams.com/latest/docs/S_SNOPT.html

Fields§

§raw: Vec<String>

Extra option-file lines written verbatim, for options without a generated setter (or values a setter can’t express).

Implementations§

Source§

impl GamsSnoptOptions

Source

pub fn major_print_level(self, v: i64) -> Self

Set GAMS option major print level (integer).

Source

pub fn minor_print_level(self, v: i64) -> Self

Set GAMS option minor print level (integer).

Source

pub fn print_frequency(self, v: i64) -> Self

Set GAMS option print frequency (integer).

Source

pub fn summary_frequency(self, v: i64) -> Self

Set GAMS option summary frequency (integer).

Source

pub fn suppress_parameters(self, v: impl Display) -> Self

Set GAMS option suppress parameters. This solver’s manual declares no type for it, so any Display value is accepted.

Source

pub fn timing_level(self, v: i64) -> Self

Set GAMS option timing level (integer).

Source

pub fn feasible_point(self, v: impl Display) -> Self

Set GAMS option feasible point. This solver’s manual declares no type for it, so any Display value is accepted.

Source

pub fn infinite_bound(self, v: f64) -> Self

Set GAMS option infinite bound (real).

Source

pub fn major_feasibility_tolerance(self, v: f64) -> Self

Set GAMS option major feasibility tolerance (real).

Source

pub fn major_optimality_tolerance(self, v: f64) -> Self

Set GAMS option major optimality tolerance (real).

Source

pub fn minor_feasibility_tolerance(self, v: f64) -> Self

Set GAMS option minor feasibility tolerance (real).

Source

pub fn verify_level(self, v: i64) -> Self

Set GAMS option verify level (integer).

Source

pub fn scale_option(self, v: i64) -> Self

Set GAMS option scale option (integer).

Source

pub fn scale_print(self, v: impl Display) -> Self

Set GAMS option scale print. This solver’s manual declares no type for it, so any Display value is accepted.

Source

pub fn scale_tolerance(self, v: f64) -> Self

Set GAMS option scale tolerance (real).

Source

pub fn crash_tolerance(self, v: f64) -> Self

Set GAMS option crash tolerance (real).

Source

pub fn linesearch_tolerance(self, v: f64) -> Self

Set GAMS option linesearch tolerance (real).

Source

pub fn pivot_tolerance(self, v: f64) -> Self

Set GAMS option pivot tolerance (real).

Source

pub fn crash_option(self, v: i64) -> Self

Set GAMS option crash option (integer).

Source

pub fn elastic_weight(self, v: f64) -> Self

Set GAMS option elastic weight (real).

Source

pub fn iterations_limit(self, v: i64) -> Self

Set GAMS option iterations limit (integer).

Source

pub fn partial_price(self, v: i64) -> Self

Set GAMS option partial price (integer).

Source

pub fn central_difference_interval(self, v: f64) -> Self

Set GAMS option central difference interval (real).

Source

pub fn cold_start(self, v: impl Display) -> Self

Set GAMS option cold start. This solver’s manual declares no type for it, so any Display value is accepted.

Source

pub fn derivative_linesearch(self, v: impl Display) -> Self

Set GAMS option derivative linesearch. This solver’s manual declares no type for it, so any Display value is accepted.

Source

pub fn difference_interval(self, v: f64) -> Self

Set GAMS option difference interval (real).

Source

pub fn function_precision(self, v: f64) -> Self

Set GAMS option function precision (real).

Source

pub fn major_iterations_limit(self, v: i64) -> Self

Set GAMS option major iterations limit (integer).

Source

pub fn major_step_limit(self, v: f64) -> Self

Set GAMS option major step limit (real).

Source

pub fn minor_iterations_limit(self, v: i64) -> Self

Set GAMS option minor iterations limit (integer).

Source

pub fn new_superbasics_limit(self, v: i64) -> Self

Set GAMS option new superbasics limit (integer).

Source

pub fn nonderivative_linesearch(self, v: impl Display) -> Self

Set GAMS option nonderivative linesearch. This solver’s manual declares no type for it, so any Display value is accepted.

Source

pub fn penalty_parameter(self, v: f64) -> Self

Set GAMS option penalty parameter (real).

Source

pub fn proximal_point_method(self, v: i64) -> Self

Set GAMS option proximal point method (integer).

Source

pub fn reduced_hessian_dimension(self, v: i64) -> Self

Set GAMS option reduced hessian dimension (integer).

Source

pub fn superbasics_limit(self, v: i64) -> Self

Set GAMS option superbasics limit (integer).

Source

pub fn unbounded_objective_value(self, v: f64) -> Self

Set GAMS option unbounded objective value (real).

Source

pub fn unbounded_step_size(self, v: f64) -> Self

Set GAMS option unbounded step size (real).

Source

pub fn violation_limit(self, v: i64) -> Self

Set GAMS option violation limit (integer).

Source

pub fn warm_start(self, v: impl Display) -> Self

Set GAMS option warm start. This solver’s manual declares no type for it, so any Display value is accepted.

Source

pub fn hessian_frequency(self, v: i64) -> Self

Set GAMS option hessian frequency (integer).

Source

pub fn hessian_full_memory(self, v: impl Display) -> Self

Set GAMS option hessian full memory. This solver’s manual declares no type for it, so any Display value is accepted.

Source

pub fn hessian_limited_memory(self, v: impl Display) -> Self

Set GAMS option hessian limited memory. This solver’s manual declares no type for it, so any Display value is accepted.

Source

pub fn hessian_updates(self, v: i64) -> Self

Set GAMS option hessian updates (integer).

Source

pub fn check_frequency(self, v: i64) -> Self

Set GAMS option check frequency (integer).

Source

pub fn expand_frequency(self, v: i64) -> Self

Set GAMS option expand frequency (integer).

Source

pub fn factorization_frequency(self, v: i64) -> Self

Set GAMS option factorization frequency (integer).

Source

pub fn lu_complete_pivoting(self, v: impl Display) -> Self

Set GAMS option LU complete pivoting. This solver’s manual declares no type for it, so any Display value is accepted.

Source

pub fn lu_density_tolerance(self, v: f64) -> Self

Set GAMS option LU density tolerance (real).

Source

pub fn lu_factor_tolerance(self, v: f64) -> Self

Set GAMS option LU factor tolerance (real).

Source

pub fn lu_partial_pivoting(self, v: impl Display) -> Self

Set GAMS option LU partial pivoting. This solver’s manual declares no type for it, so any Display value is accepted.

Source

pub fn lu_rook_pivoting(self, v: impl Display) -> Self

Set GAMS option LU rook pivoting. This solver’s manual declares no type for it, so any Display value is accepted.

Source

pub fn lu_singularity_tolerance(self, v: f64) -> Self

Set GAMS option LU singularity tolerance (real).

Source

pub fn lu_update_tolerance(self, v: f64) -> Self

Set GAMS option LU update tolerance (real).

Source

pub fn solution(self, v: GamsSnoptSolution) -> Self

Set GAMS option solution, restricted to its documented values.

Source

pub fn system_information(self, v: GamsSnoptSystemInformation) -> Self

Set GAMS option system information, restricted to its documented values.

Source

pub fn qpsolver(self, v: GamsSnoptQpsolver) -> Self

Set GAMS option qpsolver, restricted to its documented values.

Trait Implementations§

Source§

impl Clone for GamsSnoptOptions

Source§

fn clone(&self) -> GamsSnoptOptions

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for GamsSnoptOptions

Source§

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

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

impl Default for GamsSnoptOptions

Source§

fn default() -> GamsSnoptOptions

Returns the “default value” for a type. Read more

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

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

Source§

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>,

Source§

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>,

Source§

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.