Skip to main content

GamsCoptOptions

Struct GamsCoptOptions 

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

Options for GAMS/COPT. Reference: https://www.gams.com/latest/docs/S_COPT.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 GamsCoptOptions

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Trait Implementations§

Source§

impl Clone for GamsCoptOptions

Source§

fn clone(&self) -> GamsCoptOptions

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 GamsCoptOptions

Source§

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

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

impl Default for GamsCoptOptions

Source§

fn default() -> GamsCoptOptions

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.