pub struct GamsConoptOptions {
pub raw: Vec<String>,
/* private fields */
}Expand description
Options for GAMS/CONOPT. Reference: https://www.gams.com/latest/docs/S_CONOPT.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 GamsConoptOptions
impl GamsConoptOptions
Sourcepub fn flg_adj_ini_p(self, v: bool) -> Self
pub fn flg_adj_ini_p(self, v: bool) -> Self
Set GAMS option Flg_AdjIniP (boolean, written as 1/0).
Sourcepub fn flg_convex(self, v: bool) -> Self
pub fn flg_convex(self, v: bool) -> Self
Set GAMS option Flg_Convex (boolean, written as 1/0).
Sourcepub fn flg_crash_slack(self, v: bool) -> Self
pub fn flg_crash_slack(self, v: bool) -> Self
Set GAMS option Flg_Crash_Slack (boolean, written as 1/0).
Sourcepub fn flg_dbg_intv(self, v: bool) -> Self
pub fn flg_dbg_intv(self, v: bool) -> Self
Set GAMS option Flg_Dbg_Intv (boolean, written as 1/0).
Sourcepub fn flg_for_defc(self, v: bool) -> Self
pub fn flg_for_defc(self, v: bool) -> Self
Set GAMS option Flg_ForDefc (boolean, written as 1/0).
Sourcepub fn flg_neg_curve(self, v: bool) -> Self
pub fn flg_neg_curve(self, v: bool) -> Self
Set GAMS option Flg_NegCurve (boolean, written as 1/0).
Sourcepub fn flg_no_defc(self, v: bool) -> Self
pub fn flg_no_defc(self, v: bool) -> Self
Set GAMS option Flg_NoDefc (boolean, written as 1/0).
Sourcepub fn flg_no_pen(self, v: bool) -> Self
pub fn flg_no_pen(self, v: bool) -> Self
Set GAMS option Flg_NoPen (boolean, written as 1/0).
Sourcepub fn flg_slp_mode(self, v: bool) -> Self
pub fn flg_slp_mode(self, v: bool) -> Self
Set GAMS option Flg_SLPMode (boolean, written as 1/0).
Sourcepub fn flg_sqp_mode(self, v: bool) -> Self
pub fn flg_sqp_mode(self, v: bool) -> Self
Set GAMS option Flg_SQPMode (boolean, written as 1/0).
Sourcepub fn flg_square(self, v: bool) -> Self
pub fn flg_square(self, v: bool) -> Self
Set GAMS option Flg_Square (boolean, written as 1/0).
Sourcepub fn flg_trace_cns(self, v: bool) -> Self
pub fn flg_trace_cns(self, v: bool) -> Self
Set GAMS option Flg_TraceCNS (boolean, written as 1/0).
Sourcepub fn frq_rescale(self, v: i64) -> Self
pub fn frq_rescale(self, v: i64) -> Self
Set GAMS option Frq_Rescale (integer).
Sourcepub fn lim_err_2d_dir(self, v: i64) -> Self
pub fn lim_err_2d_dir(self, v: i64) -> Self
Set GAMS option Lim_Err_2DDir (integer).
Sourcepub fn lim_err_fnc_drv(self, v: i64) -> Self
pub fn lim_err_fnc_drv(self, v: i64) -> Self
Set GAMS option Lim_Err_Fnc_Drv (integer).
Sourcepub fn lim_err_hessian(self, v: i64) -> Self
pub fn lim_err_hessian(self, v: i64) -> Self
Set GAMS option Lim_Err_Hessian (integer).
Sourcepub fn lim_iteration(self, v: i64) -> Self
pub fn lim_iteration(self, v: i64) -> Self
Set GAMS option Lim_Iteration (integer).
Sourcepub fn lim_new_super(self, v: i64) -> Self
pub fn lim_new_super(self, v: i64) -> Self
Set GAMS option Lim_NewSuper (integer).
Sourcepub fn lim_red_hess(self, v: i64) -> Self
pub fn lim_red_hess(self, v: i64) -> Self
Set GAMS option Lim_RedHess (integer).
Sourcepub fn lim_slow_prg(self, v: i64) -> Self
pub fn lim_slow_prg(self, v: i64) -> Self
Set GAMS option Lim_SlowPrg (integer).
Sourcepub fn lim_stall_iter(self, v: i64) -> Self
pub fn lim_stall_iter(self, v: i64) -> Self
Set GAMS option Lim_StallIter (integer).
Sourcepub fn lim_start_degen(self, v: i64) -> Self
pub fn lim_start_degen(self, v: i64) -> Self
Set GAMS option Lim_Start_Degen (integer).
Sourcepub fn lim_variable(self, v: f64) -> Self
pub fn lim_variable(self, v: f64) -> Self
Set GAMS option Lim_Variable (real).
Sourcepub fn lin_method(self, v: i64) -> Self
pub fn lin_method(self, v: i64) -> Self
Set GAMS option Lin_Method (integer).
Sourcepub fn mtd_dbg_1drv(self, v: i64) -> Self
pub fn mtd_dbg_1drv(self, v: i64) -> Self
Set GAMS option Mtd_Dbg_1Drv (integer).
Sourcepub fn mtd_red_hess(self, v: i64) -> Self
pub fn mtd_red_hess(self, v: i64) -> Self
Set GAMS option Mtd_RedHess (integer).
Sourcepub fn mtd_step_phase0(self, v: i64) -> Self
pub fn mtd_step_phase0(self, v: i64) -> Self
Set GAMS option Mtd_Step_Phase0 (integer).
Sourcepub fn mtd_step_tight(self, v: i64) -> Self
pub fn mtd_step_tight(self, v: i64) -> Self
Set GAMS option Mtd_Step_Tight (integer).
Sourcepub fn num_rounds(self, v: i64) -> Self
pub fn num_rounds(self, v: i64) -> Self
Set GAMS option Num_Rounds (integer).
Sourcepub fn rat_no_pen(self, v: f64) -> Self
pub fn rat_no_pen(self, v: f64) -> Self
Set GAMS option Rat_NoPen (real).
Sourcepub fn tol_box_size(self, v: f64) -> Self
pub fn tol_box_size(self, v: f64) -> Self
Set GAMS option Tol_BoxSize (real).
Sourcepub fn tol_box_size_lin(self, v: f64) -> Self
pub fn tol_box_size_lin(self, v: f64) -> Self
Set GAMS option Tol_BoxSize_Lin (real).
Sourcepub fn tol_box_lin_fac(self, v: f64) -> Self
pub fn tol_box_lin_fac(self, v: f64) -> Self
Set GAMS option Tol_Box_LinFac (real).
Sourcepub fn tol_def_mult(self, v: f64) -> Self
pub fn tol_def_mult(self, v: f64) -> Self
Set GAMS option Tol_Def_Mult (real).
Sourcepub fn tol_feas_max(self, v: f64) -> Self
pub fn tol_feas_max(self, v: f64) -> Self
Set GAMS option Tol_Feas_Max (real).
Sourcepub fn tol_feas_min(self, v: f64) -> Self
pub fn tol_feas_min(self, v: f64) -> Self
Set GAMS option Tol_Feas_Min (real).
Sourcepub fn tol_feas_tria(self, v: f64) -> Self
pub fn tol_feas_tria(self, v: f64) -> Self
Set GAMS option Tol_Feas_Tria (real).
Sourcepub fn tol_jac_min(self, v: f64) -> Self
pub fn tol_jac_min(self, v: f64) -> Self
Set GAMS option Tol_Jac_Min (real).
Sourcepub fn tol_linesearch(self, v: f64) -> Self
pub fn tol_linesearch(self, v: f64) -> Self
Set GAMS option Tol_Linesearch (real).
Sourcepub fn tol_obj_acc(self, v: f64) -> Self
pub fn tol_obj_acc(self, v: f64) -> Self
Set GAMS option Tol_Obj_Acc (real).
Sourcepub fn tol_obj_change(self, v: f64) -> Self
pub fn tol_obj_change(self, v: f64) -> Self
Set GAMS option Tol_Obj_Change (real).
Sourcepub fn tol_optimality(self, v: f64) -> Self
pub fn tol_optimality(self, v: f64) -> Self
Set GAMS option Tol_Optimality (real).
Sourcepub fn tol_opt_infeas(self, v: f64) -> Self
pub fn tol_opt_infeas(self, v: f64) -> Self
Set GAMS option Tol_Opt_Infeas (real).
Sourcepub fn tol_opt_lin_f(self, v: f64) -> Self
pub fn tol_opt_lin_f(self, v: f64) -> Self
Set GAMS option Tol_Opt_LinF (real).
Sourcepub fn tol_piv_abs(self, v: f64) -> Self
pub fn tol_piv_abs(self, v: f64) -> Self
Set GAMS option Tol_Piv_Abs (real).
Sourcepub fn tol_piv_abs_ini(self, v: f64) -> Self
pub fn tol_piv_abs_ini(self, v: f64) -> Self
Set GAMS option Tol_Piv_Abs_Ini (real).
Sourcepub fn tol_piv_abs_nl_tr(self, v: f64) -> Self
pub fn tol_piv_abs_nl_tr(self, v: f64) -> Self
Set GAMS option Tol_Piv_Abs_NLTr (real).
Sourcepub fn tol_piv_ratio(self, v: f64) -> Self
pub fn tol_piv_ratio(self, v: f64) -> Self
Set GAMS option Tol_Piv_Ratio (real).
Sourcepub fn tol_piv_rel(self, v: f64) -> Self
pub fn tol_piv_rel(self, v: f64) -> Self
Set GAMS option Tol_Piv_Rel (real).
Sourcepub fn tol_piv_rel_ini(self, v: f64) -> Self
pub fn tol_piv_rel_ini(self, v: f64) -> Self
Set GAMS option Tol_Piv_Rel_Ini (real).
Sourcepub fn tol_piv_rel_updt(self, v: f64) -> Self
pub fn tol_piv_rel_updt(self, v: f64) -> Self
Set GAMS option Tol_Piv_Rel_Updt (real).
Sourcepub fn tol_scale_max(self, v: f64) -> Self
pub fn tol_scale_max(self, v: f64) -> Self
Set GAMS option Tol_Scale_Max (real).
Sourcepub fn tol_scale_min(self, v: f64) -> Self
pub fn tol_scale_min(self, v: f64) -> Self
Set GAMS option Tol_Scale_Min (real).
Sourcepub fn tol_scale_var(self, v: f64) -> Self
pub fn tol_scale_var(self, v: f64) -> Self
Set GAMS option Tol_Scale_Var (real).
Sourcepub fn trace_min_step(self, v: f64) -> Self
pub fn trace_min_step(self, v: f64) -> Self
Set GAMS option Trace_MinStep (real).
Sourcepub fn flg_interv(self, v: bool) -> Self
pub fn flg_interv(self, v: bool) -> Self
Set GAMS option Flg_Interv (boolean, written as 1/0).
Sourcepub fn lim_dbg_1drv(self, v: i64) -> Self
pub fn lim_dbg_1drv(self, v: i64) -> Self
Set GAMS option Lim_Dbg_1Drv (integer).
Sourcepub fn lim_hess_est(self, v: f64) -> Self
pub fn lim_hess_est(self, v: f64) -> Self
Set GAMS option Lim_Hess_Est (real).
Sourcepub fn lim_msg_dbg_1drv(self, v: i64) -> Self
pub fn lim_msg_dbg_1drv(self, v: i64) -> Self
Set GAMS option Lim_Msg_Dbg_1Drv (integer).
Sourcepub fn frq_log_simple(self, v: i64) -> Self
pub fn frq_log_simple(self, v: i64) -> Self
Set GAMS option Frq_Log_Simple (integer).
Sourcepub fn frq_log_slp_sqp(self, v: i64) -> Self
pub fn frq_log_slp_sqp(self, v: i64) -> Self
Set GAMS option Frq_Log_SlpSqp (integer).
Sourcepub fn lim_msg_large(self, v: i64) -> Self
pub fn lim_msg_large(self, v: i64) -> Self
Set GAMS option Lim_Msg_Large (integer).
Sourcepub fn lim_pre_msg(self, v: i64) -> Self
pub fn lim_pre_msg(self, v: i64) -> Self
Set GAMS option Lim_Pre_Msg (integer).
Sourcepub fn flg_2d_dir(self, v: bool) -> Self
pub fn flg_2d_dir(self, v: bool) -> Self
Set GAMS option Flg_2DDir (boolean, written as 1/0).
Sourcepub fn flg_hessian(self, v: bool) -> Self
pub fn flg_hessian(self, v: bool) -> Self
Set GAMS option Flg_Hessian (boolean, written as 1/0).
Sourcepub fn hessian_mem_fac(self, v: f64) -> Self
pub fn hessian_mem_fac(self, v: f64) -> Self
Set GAMS option HessianMemFac (real).
Trait Implementations§
Source§impl Clone for GamsConoptOptions
impl Clone for GamsConoptOptions
Source§fn clone(&self) -> GamsConoptOptions
fn clone(&self) -> GamsConoptOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GamsConoptOptions
impl Debug for GamsConoptOptions
Source§impl Default for GamsConoptOptions
impl Default for GamsConoptOptions
Source§fn default() -> GamsConoptOptions
fn default() -> GamsConoptOptions
Auto Trait Implementations§
impl Freeze for GamsConoptOptions
impl RefUnwindSafe for GamsConoptOptions
impl Send for GamsConoptOptions
impl Sync for GamsConoptOptions
impl Unpin for GamsConoptOptions
impl UnsafeUnpin for GamsConoptOptions
impl UnwindSafe for GamsConoptOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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