Skip to main content

GamsConopt3Options

Struct GamsConopt3Options 

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

Options for GAMS/CONOPT3. Reference: https://www.gams.com/latest/docs/S_CONOPT3.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 GamsConopt3Options

Source

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

Set GAMS option LF2DRV (integer).

Source

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

Set GAMS option LFDEGI (integer).

Source

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

Set GAMS option LFEERR (integer).

Source

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

Set GAMS option LFHSOK (integer).

Source

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

Set GAMS option LFITER (integer).

Source

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

Set GAMS option LFMXNS (integer).

Source

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

Set GAMS option LFNICR (integer).

Source

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

Set GAMS option LFNSUP (integer).

Source

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

Set GAMS option LFSCAL (integer).

Source

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

Set GAMS option LFSTAL (integer).

Source

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

Set GAMS option LFUSDF (integer).

Source

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

Set GAMS option LMDEBG (integer).

Source

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

Set GAMS option LMMXSF (integer).

Source

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

Set GAMS option LMMXST (integer).

Source

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

Set GAMS option LMNDIA (integer).

Source

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

Set GAMS option LMSCAL (integer).

Source

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

Set GAMS option LMUSDF (integer).

Source

pub fn ls2ndi(self, v: bool) -> Self

Set GAMS option LS2NDI (boolean, written as 1/0).

Source

pub fn ls2ptj(self, v: bool) -> Self

Set GAMS option LS2PTJ (boolean, written as 1/0).

Source

pub fn lsanrm(self, v: bool) -> Self

Set GAMS option LSANRM (boolean, written as 1/0).

Source

pub fn lscrsh(self, v: bool) -> Self

Set GAMS option LSCRSH (boolean, written as 1/0).

Source

pub fn lseslp(self, v: bool) -> Self

Set GAMS option LSESLP (boolean, written as 1/0).

Source

pub fn lsesqp(self, v: bool) -> Self

Set GAMS option LSESQP (boolean, written as 1/0).

Source

pub fn lsismp(self, v: bool) -> Self

Set GAMS option LSISMP (boolean, written as 1/0).

Source

pub fn lslack(self, v: bool) -> Self

Set GAMS option LSLACK (boolean, written as 1/0).

Source

pub fn lspost(self, v: bool) -> Self

Set GAMS option LSPOST (boolean, written as 1/0).

Source

pub fn lspret(self, v: bool) -> Self

Set GAMS option LSPRET (boolean, written as 1/0).

Source

pub fn lsscal(self, v: bool) -> Self

Set GAMS option LSSCAL (boolean, written as 1/0).

Source

pub fn lssqrs(self, v: bool) -> Self

Set GAMS option LSSQRS (boolean, written as 1/0).

Source

pub fn lstcrs(self, v: bool) -> Self

Set GAMS option LSTCRS (boolean, written as 1/0).

Source

pub fn lstria(self, v: bool) -> Self

Set GAMS option LSTRIA (boolean, written as 1/0).

Source

pub fn lstrid(self, v: bool) -> Self

Set GAMS option LSTRID (boolean, written as 1/0).

Source

pub fn lsuqdf(self, v: bool) -> Self

Set GAMS option LSUQDF (boolean, written as 1/0).

Source

pub fn lsusdf(self, v: bool) -> Self

Set GAMS option LSUSDF (boolean, written as 1/0).

Source

pub fn prdef(self, v: bool) -> Self

Set GAMS option PRDEF (boolean, written as 1/0).

Source

pub fn prpost(self, v: bool) -> Self

Set GAMS option PRPOST (boolean, written as 1/0).

Source

pub fn prprec(self, v: bool) -> Self

Set GAMS option PRPREC (boolean, written as 1/0).

Source

pub fn prpret(self, v: bool) -> Self

Set GAMS option PRPRET (boolean, written as 1/0).

Source

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

Set GAMS option RTBND1 (real).

Source

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

Set GAMS option RTBNDT (real).

Source

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

Set GAMS option RTIPVA (real).

Source

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

Set GAMS option RTIPVR (real).

Source

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

Set GAMS option RTMAXJ (real).

Source

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

Set GAMS option RTMAXS (real).

Source

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

Set GAMS option RTMAXV (real).

Source

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

Set GAMS option RTMINA (real).

Source

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

Set GAMS option RTMINJ (real).

Source

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

Set GAMS option RTMINS (real).

Source

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

Set GAMS option RTMNS2 (real).

Source

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

Set GAMS option RTNWMA (real).

Source

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

Set GAMS option RTNWMI (real).

Source

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

Set GAMS option RTNWTR (real).

Source

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

Set GAMS option RTOBJL (real).

Source

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

Set GAMS option RTOBJR (real).

Source

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

Set GAMS option RTONED (real).

Source

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

Set GAMS option RTPIVA (real).

Source

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

Set GAMS option RTPIVR (real).

Source

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

Set GAMS option RTPIVT (real).

Source

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

Set GAMS option RTPIVU (real).

Source

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

Set GAMS option RTPREC (real).

Source

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

Set GAMS option RTPREL (real).

Source

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

Set GAMS option RTREDG (real).

Source

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

Set GAMS option RVFILL (real).

Source

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

Set GAMS option RVTIME (real).

Source

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

Set GAMS option LFDERR (integer).

Source

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

Set GAMS option LKDEBG (integer).

Source

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

Set GAMS option RTMXJ2 (real).

Source

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

Set GAMS option RTZERN (real).

Source

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

Set GAMS option LFEMSG (integer).

Source

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

Set GAMS option LFILOG (integer).

Source

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

Set GAMS option LFILOS (integer).

Source

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

Set GAMS option LFTMSG (integer).

Source

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

Set GAMS option cooptfile (string).

Source

pub fn do2dir(self, v: bool) -> Self

Set GAMS option DO2DIR (boolean, written as 1/0).

Source

pub fn dohess(self, v: bool) -> Self

Set GAMS option DOHESS (boolean, written as 1/0).

Source

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

Set GAMS option heaplimit (real).

Source

pub fn pretri2log(self, v: bool) -> Self

Set GAMS option pretri2log (boolean, written as 1/0).

Source

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

Set GAMS option RVHESS (real).

Trait Implementations§

Source§

impl Clone for GamsConopt3Options

Source§

fn clone(&self) -> GamsConopt3Options

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 GamsConopt3Options

Source§

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

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

impl Default for GamsConopt3Options

Source§

fn default() -> GamsConopt3Options

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.