Struct mosek::Iparam

source ·
#[non_exhaustive]
pub struct Iparam;
Expand description

Integer parameters

Implementations§

source§

impl Iparam

source

pub const ANA_SOL_BASIS: i32 = 0i32

Controls whether the basis matrix is analyzed in solution analyzer.

source

pub const ANA_SOL_PRINT_VIOLATED: i32 = 1i32

Controls whether a list of violated constraints is printed.

source

pub const AUTO_SORT_A_BEFORE_OPT: i32 = 2i32

Controls whether the elements in each column of A are sorted before an optimization is performed.

source

pub const AUTO_UPDATE_SOL_INFO: i32 = 3i32

Controls whether the solution information items are automatically updated after an optimization is performed.

source

pub const BASIS_SOLVE_USE_PLUS_ONE: i32 = 4i32

Controls the sign of the columns in the basis matrix corresponding to slack variables.

source

pub const BI_CLEAN_OPTIMIZER: i32 = 5i32

Controls which simplex optimizer is used in the clean-up phase.

source

pub const BI_IGNORE_MAX_ITER: i32 = 6i32

Turns on basis identification in case the interior-point optimizer is terminated due to maximum number of iterations.

source

pub const BI_IGNORE_NUM_ERROR: i32 = 7i32

Turns on basis identification in case the interior-point optimizer is terminated due to a numerical problem.

source

pub const BI_MAX_ITERATIONS: i32 = 8i32

Maximum number of iterations after basis identification.

source

pub const CACHE_LICENSE: i32 = 9i32

Control license caching.

source

pub const COMPRESS_STATFILE: i32 = 10i32

Control compression of stat files.

source

pub const INFEAS_GENERIC_NAMES: i32 = 11i32

Controls the contents of the infeasibility report.

source

pub const INFEAS_PREFER_PRIMAL: i32 = 12i32

Controls which certificate is used if both primal- and dual- certificate of infeasibility is available.

source

pub const INFEAS_REPORT_AUTO: i32 = 13i32

Turns the feasibility report on or off.

source

pub const INFEAS_REPORT_LEVEL: i32 = 14i32

Controls the contents of the infeasibility report.

source

pub const INTPNT_BASIS: i32 = 15i32

Controls whether basis identification is performed.

source

pub const INTPNT_DIFF_STEP: i32 = 16i32

Controls whether different step sizes are allowed in the primal and dual space.

source

pub const INTPNT_HOTSTART: i32 = 17i32

Currently not in use.

source

pub const INTPNT_MAX_ITERATIONS: i32 = 18i32

Controls the maximum number of iterations allowed in the interior-point optimizer.

source

pub const INTPNT_MAX_NUM_COR: i32 = 19i32

Maximum number of correction steps.

source

pub const INTPNT_MAX_NUM_REFINEMENT_STEPS: i32 = 20i32

Maximum number of steps to be used by the iterative search direction refinement.

source

pub const INTPNT_OFF_COL_TRH: i32 = 21i32

Controls the aggressiveness of the offending column detection.

source

pub const INTPNT_ORDER_GP_NUM_SEEDS: i32 = 22i32

This parameter controls the number of random seeds tried.

source

pub const INTPNT_ORDER_METHOD: i32 = 23i32

Controls the ordering strategy.

source

pub const INTPNT_PURIFY: i32 = 24i32

Currently not in use.

source

pub const INTPNT_REGULARIZATION_USE: i32 = 25i32

Controls whether regularization is allowed.

source

pub const INTPNT_SCALING: i32 = 26i32

Controls how the problem is scaled before the interior-point optimizer is used.

source

pub const INTPNT_SOLVE_FORM: i32 = 27i32

Controls whether the primal or the dual problem is solved.

source

pub const INTPNT_STARTING_POINT: i32 = 28i32

Starting point used by the interior-point optimizer.

source

pub const LICENSE_DEBUG: i32 = 29i32

Controls the license manager client debugging behavior.

source

pub const LICENSE_PAUSE_TIME: i32 = 30i32

Controls license manager client behavior.

source

pub const LICENSE_SUPPRESS_EXPIRE_WRNS: i32 = 31i32

Controls license manager client behavior.

source

pub const LICENSE_TRH_EXPIRY_WRN: i32 = 32i32

Controls when expiry warnings are issued.

source

pub const LICENSE_WAIT: i32 = 33i32

Controls if MOSEK should queue for a license if none is available.

source

pub const LOG: i32 = 34i32

Controls the amount of log information.

source

pub const LOG_ANA_PRO: i32 = 35i32

Controls amount of output from the problem analyzer.

source

pub const LOG_BI: i32 = 36i32

Controls the amount of output printed by the basis identification procedure. A higher level implies that more information is logged.

source

pub const LOG_BI_FREQ: i32 = 37i32

Controls the logging frequency.

source

pub const LOG_CUT_SECOND_OPT: i32 = 38i32

Controls the reduction in the log levels for the second and any subsequent optimizations.

source

pub const LOG_EXPAND: i32 = 39i32

Controls the amount of logging when a data item such as the maximum number constrains is expanded.

source

pub const LOG_FEAS_REPAIR: i32 = 40i32

Controls the amount of output printed when performing feasibility repair. A value higher than one means extensive logging.

source

pub const LOG_FILE: i32 = 41i32

If turned on, then some log info is printed when a file is written or read.

source

pub const LOG_INCLUDE_SUMMARY: i32 = 42i32

Controls whether solution summary should be printed by the optimizer.

source

pub const LOG_INFEAS_ANA: i32 = 43i32

Controls log level for the infeasibility analyzer.

source

pub const LOG_INTPNT: i32 = 44i32

Controls the amount of log information from the interior-point optimizers.

source

pub const LOG_LOCAL_INFO: i32 = 45i32

Control whether local identifying information is printed to the log.

source

pub const LOG_MIO: i32 = 46i32

Controls the amount of log information from the mixed-integer optimizers.

source

pub const LOG_MIO_FREQ: i32 = 47i32

The mixed-integer optimizer logging frequency.

source

pub const LOG_ORDER: i32 = 48i32

If turned on, then factor lines are added to the log.

source

pub const LOG_PRESOLVE: i32 = 49i32

Controls amount of output printed by the presolve procedure. A higher level implies that more information is logged.

source

pub const LOG_RESPONSE: i32 = 50i32

Controls amount of output printed when response codes are reported. A higher level implies that more information is logged.

source

pub const LOG_SENSITIVITY: i32 = 51i32

Control logging in sensitivity analyzer.

source

pub const LOG_SENSITIVITY_OPT: i32 = 52i32

Control logging in sensitivity analyzer.

source

pub const LOG_SIM: i32 = 53i32

Controls the amount of log information from the simplex optimizers.

source

pub const LOG_SIM_FREQ: i32 = 54i32

Controls simplex logging frequency.

source

pub const LOG_SIM_MINOR: i32 = 55i32

Currently not in use.

source

pub const LOG_STORAGE: i32 = 56i32

Controls the memory related log information.

source

pub const MAX_NUM_WARNINGS: i32 = 57i32

Each warning is shown a limited number of times controlled by this parameter. A negative value is identical to infinite number of times.

source

pub const MIO_BRANCH_DIR: i32 = 58i32

Controls whether the mixed-integer optimizer is branching up or down by default.

source

pub const MIO_CONIC_OUTER_APPROXIMATION: i32 = 59i32

Toggles outer approximation for conic problems.

source

pub const MIO_CONSTRUCT_SOL: i32 = 60i32

Controls if an initial mixed integer solution should be constructed from the values of the integer variables.

source

pub const MIO_CUT_CLIQUE: i32 = 61i32

Controls whether clique cuts should be generated.

source

pub const MIO_CUT_CMIR: i32 = 62i32

Controls whether mixed integer rounding cuts should be generated.

source

pub const MIO_CUT_GMI: i32 = 63i32

Controls whether GMI cuts should be generated.

source

pub const MIO_CUT_IMPLIED_BOUND: i32 = 64i32

Controls whether implied bound cuts should be generated.

source

pub const MIO_CUT_KNAPSACK_COVER: i32 = 65i32

Controls whether knapsack cover cuts should be generated.

source

pub const MIO_CUT_LIPRO: i32 = 66i32

Controls whether lift-and-project cuts should be generated.

source

pub const MIO_CUT_SELECTION_LEVEL: i32 = 67i32

Controls how aggressively generated cuts are selected to be included in the relaxation.

source

pub const MIO_DATA_PERMUTATION_METHOD: i32 = 68i32

Controls what problem data permutation method is appplied to mixed-integer problems.

source

pub const MIO_DUAL_RAY_ANALYSIS_LEVEL: i32 = 69i32

Controls the amount of dual ray analysis employed by the mixed-integer optimizer in presolve.

source

pub const MIO_FEASPUMP_LEVEL: i32 = 70i32

Controls the way the Feasibility Pump heuristic is employed by the mixed-integer optimizer.

source

pub const MIO_HEURISTIC_LEVEL: i32 = 71i32

Controls the heuristic employed by the mixed-integer optimizer to locate an initial integer feasible solution.

source

pub const MIO_MAX_NUM_BRANCHES: i32 = 72i32

Maximum number of branches allowed during the branch and bound search.

source

pub const MIO_MAX_NUM_RELAXS: i32 = 73i32

Maximum number of relaxations in branch and bound search.

source

pub const MIO_MAX_NUM_RESTARTS: i32 = 74i32

Maximum number of restarts allowed during the branch and bound search.

source

pub const MIO_MAX_NUM_ROOT_CUT_ROUNDS: i32 = 75i32

Maximum number of cut separation rounds at the root node.

source

pub const MIO_MAX_NUM_SOLUTIONS: i32 = 76i32

Controls how many feasible solutions the mixed-integer optimizer investigates.

source

pub const MIO_MEMORY_EMPHASIS_LEVEL: i32 = 77i32

Controls how much emphasis is put on reducing memory usage.

source

pub const MIO_MIN_REL: i32 = 78i32

Number of times a variable must have been branched on for its pseudocost to be considered reliable.

source

pub const MIO_MODE: i32 = 79i32

Turns on/off the mixed-integer mode.

source

pub const MIO_NODE_OPTIMIZER: i32 = 80i32

Controls which optimizer is employed at the non-root nodes in the mixed-integer optimizer.

source

pub const MIO_NODE_SELECTION: i32 = 81i32

Controls the node selection strategy employed by the mixed-integer optimizer.

source

pub const MIO_NUMERICAL_EMPHASIS_LEVEL: i32 = 82i32

Controls how much emphasis is put on reducing numerical problems

source

pub const MIO_PERSPECTIVE_REFORMULATE: i32 = 83i32

Enables or disables perspective reformulation in presolve.

source

pub const MIO_PRESOLVE_AGGREGATOR_USE: i32 = 84i32

Controls if the aggregator should be used.

source

pub const MIO_PROBING_LEVEL: i32 = 85i32

Controls the amount of probing employed by the mixed-integer optimizer in presolve.

source

pub const MIO_PROPAGATE_OBJECTIVE_CONSTRAINT: i32 = 86i32

Use objective domain propagation.

source

pub const MIO_QCQO_REFORMULATION_METHOD: i32 = 87i32

Controls what reformulation method is applied to mixed-integer quadratic problems.

source

pub const MIO_RINS_MAX_NODES: i32 = 88i32

Maximum number of nodes in each call to RINS.

source

pub const MIO_ROOT_OPTIMIZER: i32 = 89i32

Controls which optimizer is employed at the root node in the mixed-integer optimizer.

source

pub const MIO_ROOT_REPEAT_PRESOLVE_LEVEL: i32 = 90i32

Controls whether presolve can be repeated at root node.

source

pub const MIO_SEED: i32 = 91i32

Sets the random seed used for randomization in the mixed integer optimizer.

source

pub const MIO_SYMMETRY_LEVEL: i32 = 92i32

Controls the amount of symmetry detection and handling employed by the mixed-integer optimizer in presolve.

source

pub const MIO_VAR_SELECTION: i32 = 93i32

Controls the variable selection strategy employed by the mixed-integer optimizer.

source

pub const MIO_VB_DETECTION_LEVEL: i32 = 94i32

Controls how much effort is put into detecting variable bounds.

source

pub const MT_SPINCOUNT: i32 = 95i32

Set the number of iterations to spin before sleeping.

source

pub const NG: i32 = 96i32

Not in use

source

pub const NUM_THREADS: i32 = 97i32

The number of threads employed by the optimizer.

source

pub const OPF_WRITE_HEADER: i32 = 98i32

Write a text header with date and MOSEK version in an OPF file.

source

pub const OPF_WRITE_HINTS: i32 = 99i32

Write a hint section with problem dimensions in the beginning of an OPF file.

source

pub const OPF_WRITE_LINE_LENGTH: i32 = 100i32

Aim to keep lines in OPF files not much longer than this.

source

pub const OPF_WRITE_PARAMETERS: i32 = 101i32

Write a parameter section in an OPF file.

source

pub const OPF_WRITE_PROBLEM: i32 = 102i32

Write objective, constraints, bounds etc. to an OPF file.

source

pub const OPF_WRITE_SOL_BAS: i32 = 103i32

Controls what is written to the OPF files.

source

pub const OPF_WRITE_SOL_ITG: i32 = 104i32

Controls what is written to the OPF files.

source

pub const OPF_WRITE_SOL_ITR: i32 = 105i32

Controls what is written to the OPF files.

source

pub const OPF_WRITE_SOLUTIONS: i32 = 106i32

Enable inclusion of solutions in the OPF files.

source

pub const OPTIMIZER: i32 = 107i32

Controls which optimizer is used to optimize the task.

source

pub const PARAM_READ_CASE_NAME: i32 = 108i32

If turned on, then names in the parameter file are case sensitive.

source

pub const PARAM_READ_IGN_ERROR: i32 = 109i32

If turned on, then errors in parameter settings is ignored.

source

pub const PRESOLVE_ELIMINATOR_MAX_FILL: i32 = 110i32

Maximum amount of fill-in created in one pivot during the elimination phase.

source

pub const PRESOLVE_ELIMINATOR_MAX_NUM_TRIES: i32 = 111i32

Control the maximum number of times the eliminator is tried.

source

pub const PRESOLVE_LEVEL: i32 = 112i32

Currently not used.

source

pub const PRESOLVE_LINDEP_ABS_WORK_TRH: i32 = 113i32

Controls linear dependency check in presolve.

source

pub const PRESOLVE_LINDEP_NEW: i32 = 114i32

Controls whether whether a new experimental linear dependency checker is employed.

source

pub const PRESOLVE_LINDEP_REL_WORK_TRH: i32 = 115i32

Controls linear dependency check in presolve.

source

pub const PRESOLVE_LINDEP_USE: i32 = 116i32

Controls whether the linear constraints are checked for linear dependencies.

source

pub const PRESOLVE_MAX_NUM_PASS: i32 = 117i32

Control the maximum number of times presolve passes over the problem.

source

pub const PRESOLVE_MAX_NUM_REDUCTIONS: i32 = 118i32

Controls the maximum number of reductions performed by the presolve.

source

pub const PRESOLVE_USE: i32 = 119i32

Controls whether the presolve is applied to a problem before it is optimized.

source

pub const PRIMAL_REPAIR_OPTIMIZER: i32 = 120i32

Controls which optimizer that is used to find the optimal repair.

source

pub const PTF_WRITE_PARAMETERS: i32 = 121i32

Controls whether parameters section is written in PTF files.

source

pub const PTF_WRITE_SOLUTIONS: i32 = 122i32

Controls whether solution section is written in PTF files.

source

pub const PTF_WRITE_TRANSFORM: i32 = 123i32

Controls if simple transformation are done when writing PTF files.

source

pub const READ_DEBUG: i32 = 124i32

Turns on additional debugging information when reading files.

source

pub const READ_KEEP_FREE_CON: i32 = 125i32

Controls whether the free constraints are included in the problem.

source

pub const READ_MPS_FORMAT: i32 = 126i32

Controls how strictly the MPS file reader interprets the MPS format.

source

pub const READ_MPS_WIDTH: i32 = 127i32

Controls the maximal number of characters allowed in one line of the MPS file.

source

pub const READ_TASK_IGNORE_PARAM: i32 = 128i32

Controls what information is used from the task files.

source

pub const REMOTE_USE_COMPRESSION: i32 = 129i32

Use compression when sending data to an optimization server

source

pub const REMOVE_UNUSED_SOLUTIONS: i32 = 130i32

Removes unused solutions before the optimization is performed.

source

pub const SENSITIVITY_ALL: i32 = 131i32

Controls sensitivity report behavior.

source

pub const SENSITIVITY_OPTIMIZER: i32 = 132i32

Controls which optimizer is used for optimal partition sensitivity analysis.

source

pub const SENSITIVITY_TYPE: i32 = 133i32

Controls which type of sensitivity analysis is to be performed.

source

pub const SIM_BASIS_FACTOR_USE: i32 = 134i32

Controls whether an LU factorization of the basis is used in a hot-start.

source

pub const SIM_DEGEN: i32 = 135i32

Controls how aggressively degeneration is handled.

source

pub const SIM_DETECT_PWL: i32 = 136i32

Not in use.

source

pub const SIM_DUAL_CRASH: i32 = 137i32

Controls whether crashing is performed in the dual simplex optimizer.

source

pub const SIM_DUAL_PHASEONE_METHOD: i32 = 138i32

An experimental feature.

source

pub const SIM_DUAL_RESTRICT_SELECTION: i32 = 139i32

Controls how aggressively restricted selection is used.

source

pub const SIM_DUAL_SELECTION: i32 = 140i32

Controls the dual simplex strategy.

source

pub const SIM_EXPLOIT_DUPVEC: i32 = 141i32

Controls if the simplex optimizers are allowed to exploit duplicated columns.

source

pub const SIM_HOTSTART: i32 = 142i32

Controls the type of hot-start that the simplex optimizer perform.

source

pub const SIM_HOTSTART_LU: i32 = 143i32

Determines if the simplex optimizer should exploit the initial factorization.

source

pub const SIM_MAX_ITERATIONS: i32 = 144i32

Maximum number of iterations that can be used by a simplex optimizer.

source

pub const SIM_MAX_NUM_SETBACKS: i32 = 145i32

Controls how many set-backs that are allowed within a simplex optimizer.

source

pub const SIM_NON_SINGULAR: i32 = 146i32

Controls if the simplex optimizer ensures a non-singular basis, if possible.

source

pub const SIM_PRIMAL_CRASH: i32 = 147i32

Controls the simplex crash.

source

pub const SIM_PRIMAL_PHASEONE_METHOD: i32 = 148i32

An experimental feature.

source

pub const SIM_PRIMAL_RESTRICT_SELECTION: i32 = 149i32

Controls how aggressively restricted selection is used.

source

pub const SIM_PRIMAL_SELECTION: i32 = 150i32

Controls the primal simplex strategy.

source

pub const SIM_REFACTOR_FREQ: i32 = 151i32

Controls the basis refactoring frequency.

source

pub const SIM_REFORMULATION: i32 = 152i32

Controls if the simplex optimizers are allowed to reformulate the problem.

source

pub const SIM_SAVE_LU: i32 = 153i32

Controls if the LU factorization stored should be replaced with the LU factorization corresponding to the initial basis.

source

pub const SIM_SCALING: i32 = 154i32

Controls how much effort is used in scaling the problem before a simplex optimizer is used.

source

pub const SIM_SCALING_METHOD: i32 = 155i32

Controls how the problem is scaled before a simplex optimizer is used.

source

pub const SIM_SEED: i32 = 156i32

Sets the random seed used for randomization in the simplex optimizers.

source

pub const SIM_SOLVE_FORM: i32 = 157i32

Controls whether the primal or the dual problem is solved by the primal-/dual-simplex optimizer.

source

pub const SIM_STABILITY_PRIORITY: i32 = 158i32

Controls how high priority the numerical stability should be given.

source

pub const SIM_SWITCH_OPTIMIZER: i32 = 159i32

Controls the simplex behavior.

source

pub const SOL_FILTER_KEEP_BASIC: i32 = 160i32

Control the contents of the solution files.

source

pub const SOL_FILTER_KEEP_RANGED: i32 = 161i32

Control the contents of the solution files.

source

pub const SOL_READ_NAME_WIDTH: i32 = 162i32

Controls the input solution file format.

source

pub const SOL_READ_WIDTH: i32 = 163i32

Controls the input solution file format.

source

pub const SOLUTION_CALLBACK: i32 = 164i32

Indicates whether solution callbacks will be performed during the optimization.

source

pub const TIMING_LEVEL: i32 = 165i32

Controls the amount of timing performed inside MOSEK.

source

pub const WRITE_BAS_CONSTRAINTS: i32 = 166i32

Controls the basic solution file format.

source

pub const WRITE_BAS_HEAD: i32 = 167i32

Controls the basic solution file format.

source

pub const WRITE_BAS_VARIABLES: i32 = 168i32

Controls the basic solution file format.

source

pub const WRITE_COMPRESSION: i32 = 169i32

Controls output file compression.

source

pub const WRITE_DATA_PARAM: i32 = 170i32

Controls output file data.

source

pub const WRITE_FREE_CON: i32 = 171i32

Controls the output file data.

source

pub const WRITE_GENERIC_NAMES: i32 = 172i32

Controls the output file data.

source

pub const WRITE_GENERIC_NAMES_IO: i32 = 173i32

Index origin used in generic names.

source

pub const WRITE_IGNORE_INCOMPATIBLE_ITEMS: i32 = 174i32

Controls if the writer ignores incompatible problem items when writing files.

source

pub const WRITE_INT_CONSTRAINTS: i32 = 175i32

Controls the integer solution file format.

source

pub const WRITE_INT_HEAD: i32 = 176i32

Controls the integer solution file format.

source

pub const WRITE_INT_VARIABLES: i32 = 177i32

Controls the integer solution file format.

source

pub const WRITE_JSON_INDENTATION: i32 = 178i32

When set, the JSON task and solution files are written with indentation for better readability.

source

pub const WRITE_LP_FULL_OBJ: i32 = 179i32

Write full linear objective

source

pub const WRITE_LP_LINE_WIDTH: i32 = 180i32

Controls the LP output file format.

source

pub const WRITE_MPS_FORMAT: i32 = 181i32

Controls in which format the MPS is written.

source

pub const WRITE_MPS_INT: i32 = 182i32

Controls the output file data.

source

pub const WRITE_SOL_BARVARIABLES: i32 = 183i32

Controls the solution file format.

source

pub const WRITE_SOL_CONSTRAINTS: i32 = 184i32

Controls the solution file format.

source

pub const WRITE_SOL_HEAD: i32 = 185i32

Controls solution file format.

source

pub const WRITE_SOL_IGNORE_INVALID_NAMES: i32 = 186i32

Controls whether the user specified names are employed even if they are invalid names.

source

pub const WRITE_SOL_VARIABLES: i32 = 187i32

Controls the solution file format.

source

pub const WRITE_TASK_INC_SOL: i32 = 188i32

Controls whether the solutions are stored in the task file too.

source

pub const WRITE_XML_MODE: i32 = 189i32

Controls if linear coefficients should be written by row or column when writing in the XML file format.

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