# 16.7 Parameters (alphabetical list sorted by type)¶

## 16.7.1 Double parameters¶

dparam

The enumeration type containing all double parameters.

dparam.ana_sol_infeas_tol

If a constraint violates its bound with an amount larger than this value, the constraint name, index and violation will be printed by the solution analyzer.

Default:
1e-6
Accepted:
[0.0; +inf]
Groups:
Analysis
dparam.basis_rel_tol_s

Maximum relative dual bound violation allowed in an optimal basic solution.

Default:
1.0e-12
Accepted:
[0.0; +inf]
Groups:
Simplex optimizer, Termination criteria
dparam.basis_tol_s

Maximum absolute dual bound violation in an optimal basic solution.

Default:
1.0e-6
Accepted:
[1.0e-9; +inf]
Groups:
Simplex optimizer, Termination criteria
dparam.basis_tol_x

Maximum absolute primal bound violation allowed in an optimal basic solution.

Default:
1.0e-6
Accepted:
[1.0e-9; +inf]
Groups:
Simplex optimizer, Termination criteria
dparam.check_convexity_rel_tol

This parameter controls when the full convexity check declares a problem to be non-convex. Increasing this tolerance relaxes the criteria for declaring the problem non-convex.

A problem is declared non-convex if negative (positive) pivot elements are detected in the Cholesky factor of a matrix which is required to be PSD (NSD). This parameter controls how much this non-negativity requirement may be violated.

If $$d_i$$ is the pivot element for column $$i$$, then the matrix $$Q$$ is considered to not be PSD if:

$d_i \leq - |Q_{ii}| \mathtt{check\_convexity\_rel\_tol}$
Default:
1e-10
Accepted:
[0; +inf]
Groups:
Interior-point method
dparam.data_sym_mat_tol

Absolute zero tolerance for elements in in suymmetric matrixes. If any value in a symmetric matrix is smaller than this parameter in absolute terms MOSEK will treat the values as zero and generate a warning.

Default:
1.0e-12
Accepted:
[1.0e-16; 1.0e-6]
Groups:
Data check
dparam.data_sym_mat_tol_huge

An element in a symmetric matrix which is larger than this value in absolute size causes an error.

Default:
1.0e20
Accepted:
[0.0; +inf]
Groups:
Data check
dparam.data_sym_mat_tol_large

An element in a symmetric matrix which is larger than this value in absolute size causes a warning message to be printed.

Default:
1.0e10
Accepted:
[0.0; +inf]
Groups:
Data check
dparam.data_tol_aij

Absolute zero tolerance for elements in $$A$$. If any value $$A_{ij}$$ is smaller than this parameter in absolute terms MOSEK will treat the values as zero and generate a warning.

Default:
1.0e-12
Accepted:
[1.0e-16; 1.0e-6]
Groups:
Data check
dparam.data_tol_aij_huge

An element in $$A$$ which is larger than this value in absolute size causes an error.

Default:
1.0e20
Accepted:
[0.0; +inf]
Groups:
Data check
dparam.data_tol_aij_large

An element in $$A$$ which is larger than this value in absolute size causes a warning message to be printed.

Default:
1.0e10
Accepted:
[0.0; +inf]
Groups:
Data check
dparam.data_tol_bound_inf

Any bound which in absolute value is greater than this parameter is considered infinite.

Default:
1.0e16
Accepted:
[0.0; +inf]
Groups:
Data check
dparam.data_tol_bound_wrn

If a bound value is larger than this value in absolute size, then a warning message is issued.

Default:
1.0e8
Accepted:
[0.0; +inf]
Groups:
Data check
dparam.data_tol_c_huge

An element in $$c$$ which is larger than the value of this parameter in absolute terms is considered to be huge and generates an error.

Default:
1.0e16
Accepted:
[0.0; +inf]
Groups:
Data check
dparam.data_tol_cj_large

An element in $$c$$ which is larger than this value in absolute terms causes a warning message to be printed.

Default:
1.0e8
Accepted:
[0.0; +inf]
Groups:
Data check
dparam.data_tol_qij

Absolute zero tolerance for elements in $$Q$$ matrices.

Default:
1.0e-16
Accepted:
[0.0; +inf]
Groups:
Data check
dparam.data_tol_x

Zero tolerance for constraints and variables i.e. if the distance between the lower and upper bound is less than this value, then the lower and upper bound is considered identical.

Default:
1.0e-8
Accepted:
[0.0; +inf]
Groups:
Data check
dparam.intpnt_co_tol_dfeas

Dual feasibility tolerance used by the conic interior-point optimizer.

Default:
1.0e-8
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria, Conic interior-point method
See also:
dparam.intpnt_co_tol_near_rel
dparam.intpnt_co_tol_infeas

Controls when the conic interior-point optimizer declares the model primal or dual infeasible. A small number means the optimizer gets more conservative about declaring the model infeasible.

Default:
1.0e-10
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria, Conic interior-point method
dparam.intpnt_co_tol_mu_red

Relative complementarity gap feasibility tolerance used by the conic interior-point optimizer.

Default:
1.0e-8
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria, Conic interior-point method
dparam.intpnt_co_tol_near_rel

If MOSEK cannot compute a solution that has the prescribed accuracy, then it will multiply the termination tolerances with value of this parameter. If the solution then satisfies the termination criteria, then the solution is denoted near optimal, near feasible and so forth.

Default:
1000
Accepted:
[1.0; +inf]
Groups:
Interior-point method, Termination criteria, Conic interior-point method
dparam.intpnt_co_tol_pfeas

Primal feasibility tolerance used by the conic interior-point optimizer.

Default:
1.0e-8
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria, Conic interior-point method
See also:
dparam.intpnt_co_tol_near_rel
dparam.intpnt_co_tol_rel_gap

Relative gap termination tolerance used by the conic interior-point optimizer.

Default:
1.0e-7
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria, Conic interior-point method
See also:
dparam.intpnt_co_tol_near_rel
dparam.intpnt_nl_merit_bal

Controls if the complementarity and infeasibility is converging to zero at about equal rates.

Default:
1.0e-4
Accepted:
[0.0; 0.99]
Groups:
Interior-point method, Nonlinear convex method
dparam.intpnt_nl_tol_dfeas

Dual feasibility tolerance used when a nonlinear model is solved.

Default:
1.0e-8
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria, Nonlinear convex method
dparam.intpnt_nl_tol_mu_red

Relative complementarity gap tolerance for the nonlinear solver.

Default:
1.0e-12
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria, Nonlinear convex method
dparam.intpnt_nl_tol_near_rel

If the MOSEK nonlinear interior-point optimizer cannot compute a solution that has the prescribed accuracy, then it will multiply the termination tolerances with value of this parameter. If the solution then satisfies the termination criteria, then the solution is denoted near optimal, near feasible and so forth.

Default:
1000.0
Accepted:
[1.0; +inf]
Groups:
Interior-point method, Termination criteria, Nonlinear convex method
dparam.intpnt_nl_tol_pfeas

Primal feasibility tolerance used when a nonlinear model is solved.

Default:
1.0e-8
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria, Nonlinear convex method
dparam.intpnt_nl_tol_rel_gap

Relative gap termination tolerance for nonlinear problems.

Default:
1.0e-6
Accepted:
[1.0e-14; +inf]
Groups:
Termination criteria, Interior-point method, Nonlinear convex method
dparam.intpnt_nl_tol_rel_step

Relative step size to the boundary for general nonlinear optimization problems.

Default:
0.995
Accepted:
[1.0e-4; 0.9999999]
Groups:
Interior-point method, Nonlinear convex method
dparam.intpnt_qo_tol_dfeas

Dual feasibility tolerance used when the interior-point optimizer is applied to a quadratic optimization problem..

Default:
1.0e-8
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria
See also:
dparam.intpnt_qo_tol_near_rel
dparam.intpnt_qo_tol_infeas

Controls when the conic interior-point optimizer declares the model primal or dual infeasible. A small number means the optimizer gets more conservative about declaring the model infeasible.

Default:
1.0e-10
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria
dparam.intpnt_qo_tol_mu_red

Relative complementarity gap feasibility tolerance used when interior-point optimizer is applied to a quadratic optimization problem.

Default:
1.0e-8
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria
dparam.intpnt_qo_tol_near_rel

If MOSEK cannot compute a solution that has the prescribed accuracy, then it will multiply the termination tolerances with value of this parameter. If the solution then satisfies the termination criteria, then the solution is denoted near optimal, near feasible and so forth.

Default:
1000
Accepted:
[1.0; +inf]
Groups:
Interior-point method, Termination criteria
dparam.intpnt_qo_tol_pfeas

Primal feasibility tolerance used when the interior-point optimizer is applied to a quadratic optimization problem.

Default:
1.0e-8
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria
See also:
dparam.intpnt_qo_tol_near_rel
dparam.intpnt_qo_tol_rel_gap

Relative gap termination tolerance used when the interior-point optimizer is applied to a quadratic optimization problem.

Default:
1.0e-8
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria
See also:
dparam.intpnt_qo_tol_near_rel
dparam.intpnt_tol_dfeas

Dual feasibility tolerance used for linear optimization problems.

Default:
1.0e-8
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria
dparam.intpnt_tol_dsafe

Controls the initial dual starting point used by the interior-point optimizer. If the interior-point optimizer converges slowly and/or the constraint or variable bounds are very large, then it might be worthwhile to increase this value.

Default:
1.0
Accepted:
[1.0e-4; +inf]
Groups:
Interior-point method
dparam.intpnt_tol_infeas

Controls when the optimizer declares the model primal or dual infeasible. A small number means the optimizer gets more conservative about declaring the model infeasible.

Default:
1.0e-10
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria, Nonlinear convex method
dparam.intpnt_tol_mu_red

Relative complementarity gap tolerance for linear problems.

Default:
1.0e-16
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria
dparam.intpnt_tol_path

Controls how close the interior-point optimizer follows the central path. A large value of this parameter means the central is followed very closely. On numerical unstable problems it may be worthwhile to increase this parameter.

Default:
1.0e-8
Accepted:
[0.0; 0.9999]
Groups:
Interior-point method
dparam.intpnt_tol_pfeas

Primal feasibility tolerance used for linear optimization problems.

Default:
1.0e-8
Accepted:
[0.0; 1.0]
Groups:
Interior-point method, Termination criteria
dparam.intpnt_tol_psafe

Controls the initial primal starting point used by the interior-point optimizer. If the interior-point optimizer converges slowly and/or the constraint or variable bounds are very large, then it may be worthwhile to increase this value.

Default:
1.0
Accepted:
[1.0e-4; +inf]
Groups:
Interior-point method
dparam.intpnt_tol_rel_gap

Relative gap termination tolerance for linear problems.

Default:
1.0e-8
Accepted:
[1.0e-14; +inf]
Groups:
Termination criteria, Interior-point method
dparam.intpnt_tol_rel_step

Relative step size to the boundary for linear and quadratic optimization problems.

Default:
0.9999
Accepted:
[1.0e-4; 0.999999]
Groups:
Interior-point method
dparam.intpnt_tol_step_size

Minimal step size tolerance. If the step size falls below the value of this parameter, then the interior-point optimizer assumes that it is stalled. In other words the interior-point optimizer does not make any progress and therefore it is better stop.

Default:
1.0e-6
Accepted:
[0.0; 1.0]
Groups:
Interior-point method
dparam.lower_obj_cut

If either a primal or dual feasible solution is found proving that the optimal objective value is outside, the interval $$[$$ dparam.lower_obj_cut, dparam.upper_obj_cut $$]$$, then MOSEK is terminated.

Default:
-1.0e30
Accepted:
[-inf; +inf]
Groups:
Termination criteria
See also:
dparam.lower_obj_cut_finite_trh
dparam.lower_obj_cut_finite_trh

If the lower objective cut is less than the value of this parameter value, then the lower objective cut i.e. dparam.lower_obj_cut is treated as $$-\infty$$.

Default:
-0.5e30
Accepted:
[-inf; +inf]
Groups:
Termination criteria
dparam.mio_disable_term_time
This parameter specifies the number of seconds $$n$$ during which the termination criteria governed by

is disabled since the beginning of the optimization.

A negative value is identical to infinity i.e. the termination criteria are never checked.

Default:
-1.0
Accepted:
[-inf; +inf]
Groups:
Mixed-integer optimization, Termination criteria
See also:
iparam.mio_max_num_relaxs, iparam.mio_max_num_branches, dparam.mio_near_tol_abs_gap, dparam.mio_near_tol_rel_gap
dparam.mio_max_time

This parameter limits the maximum time spent by the mixed-integer optimizer. A negative number means infinity.

Default:
-1.0
Accepted:
[-inf; +inf]
Groups:
Mixed-integer optimization, Termination criteria
dparam.mio_near_tol_abs_gap

Relaxed absolute optimality tolerance employed by the mixed-integer optimizer. This termination criteria is delayed. See dparam.mio_disable_term_time for details.

Default:
0.0
Accepted:
[0.0; +inf]
Groups:
Mixed-integer optimization
See also:
dparam.mio_disable_term_time
dparam.mio_near_tol_rel_gap

The mixed-integer optimizer is terminated when this tolerance is satisfied. This termination criteria is delayed. See dparam.mio_disable_term_time for details.

Default:
1.0e-3
Accepted:
[0.0; +inf]
Groups:
Mixed-integer optimization, Termination criteria
See also:
dparam.mio_disable_term_time
dparam.mio_rel_gap_const

This value is used to compute the relative gap for the solution to an integer optimization problem.

Default:
1.0e-10
Accepted:
[1.0e-15; +inf]
Groups:
Mixed-integer optimization, Termination criteria
dparam.mio_tol_abs_gap

Absolute optimality tolerance employed by the mixed-integer optimizer.

Default:
0.0
Accepted:
[0.0; +inf]
Groups:
Mixed-integer optimization
dparam.mio_tol_abs_relax_int

Absolute integer feasibility tolerance. If the distance to the nearest integer is less than this tolerance then an integer constraint is assumed to be satisfied.

Default:
1.0e-5
Accepted:
[1e-9; +inf]
Groups:
Mixed-integer optimization
dparam.mio_tol_feas

Feasibility tolerance for mixed integer solver.

Default:
1.0e-6
Accepted:
[1e-9; 1e-3]
Groups:
Mixed-integer optimization
dparam.mio_tol_rel_dual_bound_improvement

If the relative improvement of the dual bound is smaller than this value, the solver will terminate the root cut generation. A value of 0.0 means that the value is selected automatically.

Default:
0.0
Accepted:
[0.0; 1.0]
Groups:
Mixed-integer optimization
dparam.mio_tol_rel_gap

Relative optimality tolerance employed by the mixed-integer optimizer.

Default:
1.0e-4
Accepted:
[0.0; +inf]
Groups:
Mixed-integer optimization, Termination criteria
dparam.optimizer_max_time

Maximum amount of time the optimizer is allowed to spent on the optimization. A negative number means infinity.

Default:
-1.0
Accepted:
[-inf; +inf]
Groups:
Termination criteria
dparam.presolve_tol_abs_lindep

Absolute tolerance employed by the linear dependency checker.

Default:
1.0e-6
Accepted:
[0.0; +inf]
Groups:
Presolve
dparam.presolve_tol_aij

Absolute zero tolerance employed for $$a_{ij}$$ in the presolve.

Default:
1.0e-12
Accepted:
[1.0e-15; +inf]
Groups:
Presolve
dparam.presolve_tol_rel_lindep

Relative tolerance employed by the linear dependency checker.

Default:
1.0e-10
Accepted:
[0.0; +inf]
Groups:
Presolve
dparam.presolve_tol_s

Absolute zero tolerance employed for $$s_i$$ in the presolve.

Default:
1.0e-8
Accepted:
[0.0; +inf]
Groups:
Presolve
dparam.presolve_tol_x

Absolute zero tolerance employed for $$x_j$$ in the presolve.

Default:
1.0e-8
Accepted:
[0.0; +inf]
Groups:
Presolve
dparam.qcqo_reformulate_rel_drop_tol

This parameter determines when columns are dropped in incomplete Cholesky factorization during reformulation of quadratic problems.

Default:
1e-15
Accepted:
[0; +inf]
Groups:
Interior-point method
dparam.semidefinite_tol_approx

Tolerance to define a matrix to be positive semidefinite.

Default:
1.0e-10
Accepted:
[1.0e-15; +inf]
Groups:
Data check
dparam.sim_lu_tol_rel_piv

Relative pivot tolerance employed when computing the LU factorization of the basis in the simplex optimizers and in the basis identification procedure.

A value closer to 1.0 generally improves numerical stability but typically also implies an increase in the computational work.

Default:
0.01
Accepted:
[1.0e-6; 0.999999]
Groups:
Basis identification, Simplex optimizer
dparam.simplex_abs_tol_piv

Absolute pivot tolerance employed by the simplex optimizers.

Default:
1.0e-7
Accepted:
[1.0e-12; +inf]
Groups:
Simplex optimizer
dparam.upper_obj_cut

If either a primal or dual feasible solution is found proving that the optimal objective value is outside, the interval $$[$$ dparam.lower_obj_cut, dparam.upper_obj_cut $$]$$, then MOSEK is terminated.

Default:
1.0e30
Accepted:
[-inf; +inf]
Groups:
Termination criteria
See also:
dparam.upper_obj_cut_finite_trh
dparam.upper_obj_cut_finite_trh

If the upper objective cut is greater than the value of this parameter, then the upper objective cut dparam.upper_obj_cut is treated as $$\infty$$.

Default:
0.5e30
Accepted:
[-inf; +inf]
Groups:
Termination criteria

## 16.7.2 Integer parameters¶

iparam

The enumeration type containing all integer parameters.

iparam.ana_sol_basis

Controls whether the basis matrix is analyzed in solution analyzer.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Analysis
iparam.ana_sol_print_violated

Controls whether a list of violated constraints is printed when calling Task.analyzesolution.

All constraints violated by more than the value set by the parameter dparam.ana_sol_infeas_tol will be printed.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Analysis
iparam.auto_sort_a_before_opt

Controls whether the elements in each column of $$A$$ are sorted before an optimization is performed. This is not required but makes the optimization more deterministic.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Debugging
iparam.auto_update_sol_info

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

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Overall system
iparam.basis_solve_use_plus_one

If a slack variable is in the basis, then the corresponding column in the basis is a unit vector with -1 in the right position. However, if this parameter is set to onoffkey.on, -1 is replaced by 1.

This has significance for the results returned by the Task.solvewithbasis function.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Simplex optimizer
iparam.bi_clean_optimizer

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

Default:
free
Accepted:
free, intpnt, conic, primal_simplex, dual_simplex, free_simplex, mixed_int (see optimizertype)
Groups:
Basis identification, Overall solver
iparam.bi_ignore_max_iter

If the parameter iparam.intpnt_basis has the value basindtype.no_error and the interior-point optimizer has terminated due to maximum number of iterations, then basis identification is performed if this parameter has the value onoffkey.on.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Interior-point method, Basis identification
iparam.bi_ignore_num_error

If the parameter iparam.intpnt_basis has the value basindtype.no_error and the interior-point optimizer has terminated due to a numerical problem, then basis identification is performed if this parameter has the value onoffkey.on.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Interior-point method, Basis identification
iparam.bi_max_iterations

Controls the maximum number of simplex iterations allowed to optimize a basis after the basis identification.

Default:
1000000
Accepted:
[0; +inf]
Groups:
Basis identification, Termination criteria
iparam.cache_license

Specifies if the license is kept checked out for the lifetime of the mosek environment (onoffkey.on) or returned to the server immediately after the optimization (onoffkey.off).

By default the license is checked out for the lifetime of the MOSEK environment by the first call to Task.optimize.

Check-in and check-out of licenses have an overhead. Frequent communication with the license server should be avoided.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
iparam.check_convexity

Specify the level of convexity check on quadratic problems.

Default:
full
Accepted:
none, simple, full (see checkconvexitytype)
Groups:
Data check, Nonlinear convex method
iparam.compress_statfile

Control compression of stat files.

Default:
on
Accepted:
on, off (see onoffkey)
iparam.infeas_generic_names

Controls whether generic names are used when an infeasible subproblem is created.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Infeasibility report
iparam.infeas_prefer_primal

If both certificates of primal and dual infeasibility are supplied then only the primal is used when this option is turned on.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Overall solver
iparam.infeas_report_auto

Controls whether an infeasibility report is automatically produced after the optimization if the problem is primal or dual infeasible.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Data input/output, Solution input/output
iparam.infeas_report_level

Controls the amount of information presented in an infeasibility report. Higher values imply more information.

Default:
1
Accepted:
[0; +inf]
Groups:
Infeasibility report, Output information
iparam.intpnt_basis

Controls whether the interior-point optimizer also computes an optimal basis.

iparam.intpnt_diff_step

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

Default:
on
Accepted:

Groups:
Interior-point method
iparam.intpnt_hotstart

Currently not in use.

Default:
none
Accepted:
none, primal, dual, primal_dual (see intpnthotstart)
Groups:
Interior-point method
iparam.intpnt_max_iterations

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

Default:
400
Accepted:
[0; +inf]
Groups:
Interior-point method, Termination criteria
iparam.intpnt_max_num_cor

Controls the maximum number of correctors allowed by the multiple corrector procedure. A negative value means that MOSEK is making the choice.

Default:
-1
Accepted:
[-1; +inf]
Groups:
Interior-point method
iparam.intpnt_max_num_refinement_steps

Maximum number of steps to be used by the iterative refinement of the search direction. A negative value implies that the optimizer chooses the maximum number of iterative refinement steps.

Default:
-1
Accepted:
[-inf; +inf]
Groups:
Interior-point method
iparam.intpnt_multi_thread

Controls whether the interior-point optimizers are allowed to employ multiple threads if more threads is available.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Overall system
iparam.intpnt_off_col_trh

Controls how many offending columns are detected in the Jacobian of the constraint matrix.

 $$0$$ no detection $$1$$ aggressive detection $$>1$$ higher values mean less aggressive detection
Default:
40
Accepted:
[0; +inf]
Groups:
Interior-point method
iparam.intpnt_order_method

Controls the ordering strategy used by the interior-point optimizer when factorizing the Newton equation system.

Default:
free
Accepted:
free, appminloc, experimental, try_graphpar, force_graphpar, none (see orderingtype)
Groups:
Interior-point method
iparam.intpnt_regularization_use

Controls whether regularization is allowed.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Interior-point method
iparam.intpnt_scaling

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

Default:
free
Accepted:
free, none, moderate, aggressive (see scalingtype)
Groups:
Interior-point method
iparam.intpnt_solve_form

Controls whether the primal or the dual problem is solved.

Default:
free
Accepted:
free, primal, dual (see solveform)
Groups:
Interior-point method
iparam.intpnt_starting_point

Starting point used by the interior-point optimizer.

Default:
free
Accepted:
free, guess, constant, satisfy_bounds (see startpointtype)
Groups:
Interior-point method
iparam.license_debug

This option is used to turn on debugging of the license manager.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
iparam.license_pause_time

If iparam.license_wait= onoffkey.on and no license is available, then MOSEK sleeps a number of milliseconds between each check of whether a license has become free.

Default:
100
Accepted:
[0; 1000000]
Groups:
iparam.license_suppress_expire_wrns

Controls whether license features expire warnings are suppressed.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
iparam.license_trh_expiry_wrn

If a license feature expires in a numbers days less than the value of this parameter then a warning will be issued.

Default:
7
Accepted:
[0; +inf]
Groups:
iparam.license_wait

If all licenses are in use MOSEK returns with an error code. However, by turning on this parameter MOSEK will wait for an available license.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Overall solver, Overall system, License manager
iparam.log

Please note that if a task is employed to solve a sequence of optimization problems the value of this parameter is reduced by the value of iparam.log_cut_second_opt for the second and any subsequent optimizations.

Default:
10
Accepted:
[0; +inf]
Groups:
Output information, Logging
See also:
iparam.log_cut_second_opt
iparam.log_ana_pro

Controls amount of output from the problem analyzer.

Default:
1
Accepted:
[0; +inf]
Groups:
Analysis, Logging
iparam.log_bi

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

Default:
1
Accepted:
[0; +inf]
Groups:
Basis identification, Output information, Logging
iparam.log_bi_freq

Controls how frequent the optimizer outputs information about the basis identification and how frequent the user-defined callback function is called.

Default:
2500
Accepted:
[0; +inf]
Groups:
Basis identification, Output information, Logging
iparam.log_check_convexity

Controls logging in convexity check on quadratic problems. Set to a positive value to turn logging on. If a quadratic coefficient matrix is found to violate the requirement of PSD (NSD) then a list of negative (positive) pivot elements is printed. The absolute value of the pivot elements is also shown.

Default:
0
Accepted:
[0; +inf]
Groups:
Data check, Nonlinear convex method
iparam.log_cut_second_opt

If a task is employed to solve a sequence of optimization problems, then the value of the log levels is reduced by the value of this parameter. E.g iparam.log and iparam.log_sim are reduced by the value of this parameter for the second and any subsequent optimizations.

Default:
1
Accepted:
[0; +inf]
Groups:
Output information, Logging
See also:
iparam.log, iparam.log_intpnt, iparam.log_mio, iparam.log_sim
iparam.log_expand

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

Default:
0
Accepted:
[0; +inf]
Groups:
Output information, Logging
iparam.log_feas_repair

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

Default:
1
Accepted:
[0; +inf]
Groups:
Output information, Logging
iparam.log_file

Default:
1
Accepted:
[0; +inf]
Groups:
Data input/output, Output information, Logging
iparam.log_infeas_ana

Controls amount of output printed by the infeasibility analyzer procedures. A higher level implies that more information is logged.

Default:
1
Accepted:
[0; +inf]
Groups:
Infeasibility report, Output information, Logging
iparam.log_intpnt

Controls amount of output printed by the interior-point optimizer. A higher level implies that more information is logged.

Default:
1
Accepted:
[0; +inf]
Groups:
Interior-point method, Output information, Logging
iparam.log_mio

Controls the log level for the mixed-integer optimizer. A higher level implies that more information is logged.

Default:
4
Accepted:
[0; +inf]
Groups:
Mixed-integer optimization, Output information, Logging
iparam.log_mio_freq

Controls how frequent the mixed-integer optimizer prints the log line. It will print line every time iparam.log_mio_freq relaxations have been solved.

Default:
10
Accepted:
[-inf; +inf]
Groups:
Mixed-integer optimization, Output information, Logging
iparam.log_order

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

Default:
1
Accepted:
[0; +inf]
Groups:
Output information, Logging
iparam.log_presolve

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

Default:
1
Accepted:
[0; +inf]
Groups:
Logging
iparam.log_response

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

Default:
0
Accepted:
[0; +inf]
Groups:
Output information, Logging
iparam.log_sensitivity

Controls the amount of logging during the sensitivity analysis.

1. Means no logging information is produced.
2. Timing information is printed.
3. Sensitivity results are printed.
Default:
1
Accepted:
[0; +inf]
Groups:
Output information, Logging
iparam.log_sensitivity_opt

Controls the amount of logging from the optimizers employed during the sensitivity analysis. 0 means no logging information is produced.

Default:
0
Accepted:
[0; +inf]
Groups:
Output information, Logging
iparam.log_sim

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

Default:
4
Accepted:
[0; +inf]
Groups:
Simplex optimizer, Output information, Logging
iparam.log_sim_freq

Controls how frequent the simplex optimizer outputs information about the optimization and how frequent the user-defined callback function is called.

Default:
1000
Accepted:
[0; +inf]
Groups:
Simplex optimizer, Output information, Logging
iparam.log_sim_minor

Currently not in use.

Default:
1
Accepted:
[0; +inf]
Groups:
Simplex optimizer, Output information
iparam.log_storage

When turned on, MOSEK prints messages regarding the storage usage and allocation.

Default:
0
Accepted:
[0; +inf]
Groups:
Output information, Overall system, Logging
iparam.max_num_warnings

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

Default:
10
Accepted:
[-inf; +inf]
Groups:
Output information
iparam.mio_branch_dir

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

Default:
free
Accepted:
free, up, down, near, far, root_lp, guided, pseudocost (see branchdir)
Groups:
Mixed-integer optimization
iparam.mio_construct_sol

If set to onoffkey.on and all integer variables have been given a value for which a feasible mixed integer solution exists, then MOSEK generates an initial solution to the mixed integer problem by fixing all integer values and solving the remaining problem.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Mixed-integer optimization
iparam.mio_cut_clique

Controls whether clique cuts should be generated.

Default:
on
Accepted:

Groups:
Mixed-integer optimization
iparam.mio_cut_cmir

Controls whether mixed integer rounding cuts should be generated.

Default:
on
Accepted:

Groups:
Mixed-integer optimization
iparam.mio_cut_gmi

Controls whether GMI cuts should be generated.

Default:
on
Accepted:

Groups:
Mixed-integer optimization
iparam.mio_cut_implied_bound

Controls whether implied bound cuts should be generated.

Default:
off
Accepted:

Groups:
Mixed-integer optimization
iparam.mio_cut_knapsack_cover

Controls whether knapsack cover cuts should be generated.

Default:
off
Accepted:

Groups:
Mixed-integer optimization
iparam.mio_cut_selection_level

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

-1. The optimizer chooses the level of cut selection

1. Generated cuts less likely to be added to the relaxation
2. Cuts are more aggressively selected to be included in the relaxation
Default:
-1
Accepted:
[-1; +1]
Groups:
Mixed-integer optimization
iparam.mio_heuristic_level

Controls the heuristic employed by the mixed-integer optimizer to locate an initial good integer feasible solution. A value of zero means the heuristic is not used at all. A larger value than $$0$$ means that a gradually more sophisticated heuristic is used which is computationally more expensive. A negative value implies that the optimizer chooses the heuristic. Normally a value around $$3$$ to $$5$$ should be optimal.

Default:
-1
Accepted:
[-inf; +inf]
Groups:
Mixed-integer optimization
iparam.mio_max_num_branches

Maximum number of branches allowed during the branch and bound search. A negative value means infinite.

Default:
-1
Accepted:
[-inf; +inf]
Groups:
Mixed-integer optimization, Termination criteria
See also:
dparam.mio_disable_term_time
iparam.mio_max_num_relaxs

Maximum number of relaxations allowed during the branch and bound search. A negative value means infinite.

Default:
-1
Accepted:
[-inf; +inf]
Groups:
Mixed-integer optimization
See also:
dparam.mio_disable_term_time
iparam.mio_max_num_solutions

The mixed-integer optimizer can be terminated after a certain number of different feasible solutions has been located. If this parameter has the value $$n>0$$, then the mixed-integer optimizer will be terminated when $$n$$ feasible solutions have been located.

Default:
-1
Accepted:
[-inf; +inf]
Groups:
Mixed-integer optimization, Termination criteria
See also:
dparam.mio_disable_term_time
iparam.mio_mode

Controls whether the optimizer includes the integer restrictions when solving a (mixed) integer optimization problem.

Default:
satisfied
Accepted:
ignored, satisfied (see miomode)
Groups:
Overall solver
iparam.mio_mt_user_cb

If true user callbacks are called from each thread used by mixed-integer optimizer. Otherwise it is only called from a single thread.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Overall system
iparam.mio_node_optimizer

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

Default:
free
Accepted:
free, intpnt, conic, primal_simplex, dual_simplex, free_simplex, mixed_int (see optimizertype)
Groups:
Mixed-integer optimization
iparam.mio_node_selection

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

Default:
free
Accepted:
free, first, best, worst, hybrid, pseudo (see mionodeseltype)
Groups:
Mixed-integer optimization
iparam.mio_perspective_reformulate

Enables or disables perspective reformulation in presolve.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Mixed-integer optimization
iparam.mio_probing_level

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

-1. The optimizer chooses the level of probing employed

1. Probing is disabled
2. A low amount of probing is employed
3. A medium amount of probing is employed
4. A high amount of probing is employed
Default:
-1
Accepted:
[-1; 3]
Groups:
Mixed-integer optimization
iparam.mio_rins_max_nodes

Controls the maximum number of nodes allowed in each call to the RINS heuristic. The default value of -1 means that the value is determined automatically. A value of zero turns off the heuristic.

Default:
-1
Accepted:
[-1; +inf]
Groups:
Mixed-integer optimization
iparam.mio_root_optimizer

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

Default:
free
Accepted:
free, intpnt, conic, primal_simplex, dual_simplex, free_simplex, mixed_int (see optimizertype)
Groups:
Mixed-integer optimization
iparam.mio_root_repeat_presolve_level

Controls whether presolve can be repeated at root node.

• -1 The optimizer chooses whether presolve is repeated
• 0 Never repeat presolve
• 1 Always repeat presolve
Default:
-1
Accepted:
[-1; 1]
Groups:
Mixed-integer optimization
iparam.mio_vb_detection_level

Controls how much effort is put into detecting variable bounds.

-1. The optimizer chooses

1. No variable bounds are detected
2. Only detect variable bounds that are directly represented in the problem
3. Detect variable bounds in probing
Default:
-1
Accepted:
[-1; +2]
Groups:
Mixed-integer optimization
iparam.mt_spincount

Set the number of iterations to spin before sleeping.

Default:
0
Accepted:
[0; 1000000000]
Groups:
Overall system
iparam.num_threads

Controls the number of threads employed by the optimizer. If set to 0 the number of threads used will be equal to the number of cores detected on the machine.

Default:
0
Accepted:
[0; +inf]
Groups:
Overall system
iparam.opf_max_terms_per_line

The maximum number of terms (linear and quadratic) per line when an OPF file is written.

Default:
5
Accepted:
[0; +inf]
Groups:
Data input/output
iparam.opf_write_header

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

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.opf_write_hints

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

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.opf_write_parameters

Write a parameter section in an OPF file.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.opf_write_problem

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

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.opf_write_sol_bas

If iparam.opf_write_solutions is onoffkey.on and a basic solution is defined, include the basic solution in OPF files.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.opf_write_sol_itg

If iparam.opf_write_solutions is onoffkey.on and an integer solution is defined, write the integer solution in OPF files.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.opf_write_sol_itr

If iparam.opf_write_solutions is onoffkey.on and an interior solution is defined, write the interior solution in OPF files.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.opf_write_solutions

Enable inclusion of solutions in the OPF files.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.optimizer

The parameter controls which optimizer is used to optimize the task.

Default:
free
Accepted:
free, intpnt, conic, primal_simplex, dual_simplex, free_simplex, mixed_int (see optimizertype)
Groups:
Overall solver
iparam.param_read_case_name

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

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.param_read_ign_error

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

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.presolve_eliminator_max_fill

Controls the maximum amount of fill-in that can be created by one pivot in the elimination phase of the presolve. A negative value means the parameter value is selected automatically.

Default:
-1
Accepted:
[-inf; +inf]
Groups:
Presolve
iparam.presolve_eliminator_max_num_tries

Control the maximum number of times the eliminator is tried. A negative value implies MOSEK decides.

Default:
-1
Accepted:
[-inf; +inf]
Groups:
Presolve
iparam.presolve_level

Currently not used.

Default:
-1
Accepted:
[-inf; +inf]
Groups:
Overall solver, Presolve
iparam.presolve_lindep_abs_work_trh

The linear dependency check is potentially computationally expensive.

Default:
100
Accepted:
[-inf; +inf]
Groups:
Presolve
iparam.presolve_lindep_rel_work_trh

The linear dependency check is potentially computationally expensive.

Default:
100
Accepted:
[-inf; +inf]
Groups:
Presolve
iparam.presolve_lindep_use

Controls whether the linear constraints are checked for linear dependencies.

Default:
on
Accepted:

Groups:
Presolve
iparam.presolve_max_num_reductions

Controls the maximum number of reductions performed by the presolve. The value of the parameter is normally only changed in connection with debugging. A negative value implies that an infinite number of reductions are allowed.

Default:
-1
Accepted:
[-inf; +inf]
Groups:
Overall solver, Presolve
iparam.presolve_use

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

Default:
free
Accepted:
off, on, free (see presolvemode)
Groups:
Overall solver, Presolve
iparam.primal_repair_optimizer

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

Default:
free
Accepted:
free, intpnt, conic, primal_simplex, dual_simplex, free_simplex, mixed_int (see optimizertype)
Groups:
Overall solver
iparam.read_data_compressed

If this option is turned on,it is assumed that the data file is compressed.

Default:
free
Accepted:
none, free, gzip (see compresstype)
Groups:
Data input/output
iparam.read_data_format

Format of the data file to be read.

Default:
extension
Accepted:
extension, mps, lp, op, xml, free_mps, task, cb, json_task (see dataformat)
Groups:
Data input/output
iparam.read_debug

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.read_keep_free_con

Controls whether the free constraints are included in the problem.

Default:
off
Accepted:

Groups:
Data input/output
iparam.read_lp_drop_new_vars_in_bou

If this option is turned on, MOSEK will drop variables that are defined for the first time in the bounds section.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.read_lp_quoted_names

If a name is in quotes when reading an LP file, the quotes will be removed.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.read_mps_format

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

Default:
free
Accepted:
strict, relaxed, free, cplex (see mpsformat)
Groups:
Data input/output
iparam.read_mps_width

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

Default:
1024
Accepted:
[80; +inf]
Groups:
Data input/output
iparam.read_task_ignore_param

Controls whether MOSEK should ignore the parameter setting defined in the task file and use the default parameter setting instead.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.remove_unused_solutions

Removes unsued solutions before the optimization is performed.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Overall system
iparam.sensitivity_all

If set to onoffkey.on, then Task.sensitivityreport analyzes all bounds and variables instead of reading a specification from the file.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Overall solver
iparam.sensitivity_optimizer

Controls which optimizer is used for optimal partition sensitivity analysis.

Default:
free_simplex
Accepted:
free, intpnt, conic, primal_simplex, dual_simplex, free_simplex, mixed_int (see optimizertype)
Groups:
Overall solver, Simplex optimizer
iparam.sensitivity_type

Controls which type of sensitivity analysis is to be performed.

Default:
basis
Accepted:
basis, optimal_partition (see sensitivitytype)
Groups:
Overall solver
iparam.sim_basis_factor_use

Controls whether an LU factorization of the basis is used in a hot-start. Forcing a refactorization sometimes improves the stability of the simplex optimizers, but in most cases there is a performance penalty.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Simplex optimizer
iparam.sim_degen

Controls how aggressively degeneration is handled.

Default:
free
Accepted:
none, free, aggressive, moderate, minimum (see simdegen)
Groups:
Simplex optimizer
iparam.sim_dual_crash

Controls whether crashing is performed in the dual simplex optimizer.

If this parameter is set to $$x$$, then a crash will be performed if a basis consists of more than $$(100-x)\mod f_v$$ entries, where $$f_v$$ is the number of fixed variables.

Default:
90
Accepted:
[0; +inf]
Groups:
Dual simplex
iparam.sim_dual_phaseone_method

An experimental feature.

Default:
0
Accepted:
[0; 10]
Groups:
Simplex optimizer
iparam.sim_dual_restrict_selection

The dual simplex optimizer can use a so-called restricted selection/pricing strategy to chooses the outgoing variable. Hence, if restricted selection is applied, then the dual simplex optimizer first choose a subset of all the potential outgoing variables. Next, for some time it will choose the outgoing variable only among the subset. From time to time the subset is redefined.

A larger value of this parameter implies that the optimizer will be more aggressive in its restriction strategy, i.e. a value of 0 implies that the restriction strategy is not applied at all.

Default:
50
Accepted:
[0; 100]
Groups:
Dual simplex
iparam.sim_dual_selection

Controls the choice of the incoming variable, known as the selection strategy, in the dual simplex optimizer.

Default:
free
Accepted:
free, full, ase, devex, se, partial (see simseltype)
Groups:
Dual simplex
iparam.sim_exploit_dupvec

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

Default:
off
Accepted:
on, off, free (see simdupvec)
Groups:
Simplex optimizer
iparam.sim_hotstart

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

Default:
free
Accepted:
none, free, status_keys (see simhotstart)
Groups:
Simplex optimizer
iparam.sim_hotstart_lu

Determines if the simplex optimizer should exploit the initial factorization.

Default:
on
Accepted:

Groups:
Simplex optimizer
iparam.sim_max_iterations

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

Default:
10000000
Accepted:
[0; +inf]
Groups:
Simplex optimizer, Termination criteria
iparam.sim_max_num_setbacks

Controls how many set-backs are allowed within a simplex optimizer. A set-back is an event where the optimizer moves in the wrong direction. This is impossible in theory but may happen due to numerical problems.

Default:
250
Accepted:
[0; +inf]
Groups:
Simplex optimizer
iparam.sim_non_singular

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

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Simplex optimizer
iparam.sim_primal_crash

Controls whether crashing is performed in the primal simplex optimizer.

In general, if a basis consists of more than (100-this parameter value)% fixed variables, then a crash will be performed.

Default:
90
Accepted:
[0; +inf]
Groups:
Primal simplex
iparam.sim_primal_phaseone_method

An experimental feature.

Default:
0
Accepted:
[0; 10]
Groups:
Simplex optimizer
iparam.sim_primal_restrict_selection

The primal simplex optimizer can use a so-called restricted selection/pricing strategy to chooses the outgoing variable. Hence, if restricted selection is applied, then the primal simplex optimizer first choose a subset of all the potential incoming variables. Next, for some time it will choose the incoming variable only among the subset. From time to time the subset is redefined.

A larger value of this parameter implies that the optimizer will be more aggressive in its restriction strategy, i.e. a value of 0 implies that the restriction strategy is not applied at all.

Default:
50
Accepted:
[0; 100]
Groups:
Primal simplex
iparam.sim_primal_selection

Controls the choice of the incoming variable, known as the selection strategy, in the primal simplex optimizer.

Default:
free
Accepted:
free, full, ase, devex, se, partial (see simseltype)
Groups:
Primal simplex
iparam.sim_refactor_freq

Controls how frequent the basis is refactorized. The value 0 means that the optimizer determines the best point of refactorization.

It is strongly recommended NOT to change this parameter.

Default:
0
Accepted:
[0; +inf]
Groups:
Simplex optimizer
iparam.sim_reformulation

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

Default:
off
Accepted:
on, off, free, aggressive (see simreform)
Groups:
Simplex optimizer
iparam.sim_save_lu

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

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Simplex optimizer
iparam.sim_scaling

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

Default:
free
Accepted:
free, none, moderate, aggressive (see scalingtype)
Groups:
Simplex optimizer
iparam.sim_scaling_method

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

Default:
pow2
Accepted:
pow2, free (see scalingmethod)
Groups:
Simplex optimizer
iparam.sim_solve_form

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

Default:
free
Accepted:
free, primal, dual (see solveform)
Groups:
Simplex optimizer
iparam.sim_stability_priority

Controls how high priority the numerical stability should be given.

Default:
50
Accepted:
[0; 100]
Groups:
Simplex optimizer
iparam.sim_switch_optimizer

The simplex optimizer sometimes chooses to solve the dual problem instead of the primal problem. This implies that if you have chosen to use the dual simplex optimizer and the problem is dualized, then it actually makes sense to use the primal simplex optimizer instead. If this parameter is on and the problem is dualized and furthermore the simplex optimizer is chosen to be the primal (dual) one, then it is switched to the dual (primal).

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Simplex optimizer
iparam.sol_filter_keep_basic

If turned on, then basic and super basic constraints and variables are written to the solution file independent of the filter setting.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Solution input/output
iparam.sol_filter_keep_ranged

If turned on, then ranged constraints and variables are written to the solution file independent of the filter setting.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Solution input/output
iparam.sol_read_name_width

When a solution is read by MOSEK and some constraint, variable or cone names contain blanks, then a maximum name width much be specified. A negative value implies that no name contain blanks.

Default:
-1
Accepted:
[-inf; +inf]
Groups:
Data input/output, Solution input/output
iparam.sol_read_width

Controls the maximal acceptable width of line in the solutions when read by MOSEK.

Default:
1024
Accepted:
[80; +inf]
Groups:
Data input/output, Solution input/output
iparam.solution_callback

Indicates whether solution callbacks will be performed during the optimization.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Progress callback, Overall solver
iparam.timing_level

Controls the amount of timing performed inside MOSEK.

Default:
1
Accepted:
[0; +inf]
Groups:
Overall system
iparam.write_bas_constraints

Controls whether the constraint section is written to the basic solution file.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output, Solution input/output
iparam.write_bas_head

Controls whether the header section is written to the basic solution file.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output, Solution input/output
iparam.write_bas_variables

Controls whether the variables section is written to the basic solution file.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output, Solution input/output
iparam.write_data_compressed

Controls whether the data file is compressed while it is written. 0 means no compression while higher values mean more compression.

Default:
0
Accepted:
[0; +inf]
Groups:
Data input/output
iparam.write_data_format

Controls the data format when a task is written using Task.writedata.

Default:
extension
Accepted:
extension, mps, lp, op, xml, free_mps, task, cb, json_task (see dataformat)
Groups:
Data input/output
iparam.write_data_param

If this option is turned on the parameter settings are written to the data file as parameters.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.write_free_con

Controls whether the free constraints are written to the data file.

Default:
on
Accepted:

Groups:
Data input/output
iparam.write_generic_names

Controls whether the generic names or user-defined names are used in the data file.

Default:
off
Accepted:

Groups:
Data input/output
iparam.write_generic_names_io

Index origin used in generic names.

Default:
1
Accepted:
[0; +inf]
Groups:
Data input/output
iparam.write_ignore_incompatible_items

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

Default:
off
Accepted:

• on: Ignore items that cannot be written to the current output file format.
• off: Produce an error if the problem contains items that cannot the written to the current output file format.
Groups:
Data input/output
iparam.write_int_constraints

Controls whether the constraint section is written to the integer solution file.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output, Solution input/output
iparam.write_int_head

Controls whether the header section is written to the integer solution file.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output, Solution input/output
iparam.write_int_variables

Controls whether the variables section is written to the integer solution file.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output, Solution input/output
iparam.write_lp_full_obj

Write all variables, including the ones with 0-coefficients, in the objective.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.write_lp_line_width

Maximum width of line in an LP file written by MOSEK.

Default:
80
Accepted:
[40; +inf]
Groups:
Data input/output
iparam.write_lp_quoted_names

If this option is turned on, then MOSEK will quote invalid LP names when writing an LP file.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.write_lp_strict_format

Controls whether LP output files satisfy the LP format strictly.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.write_lp_terms_per_line

Maximum number of terms on a single line in an LP file written by MOSEK. 0 means unlimited.

Default:
10
Accepted:
[0; +inf]
Groups:
Data input/output
iparam.write_mps_format

Controls in which format the MPS is written.

Default:
free
Accepted:
strict, relaxed, free, cplex (see mpsformat)
Groups:
Data input/output
iparam.write_mps_int

Controls if marker records are written to the MPS file to indicate whether variables are integer restricted.

Default:
on
Accepted:

Groups:
Data input/output
iparam.write_precision

Controls the precision with which double numbers are printed in the MPS data file. In general it is not worthwhile to use a value higher than 15.

Default:
15
Accepted:
[0; +inf]
Groups:
Data input/output
iparam.write_sol_barvariables

Controls whether the symmetric matrix variables section is written to the solution file.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output, Solution input/output
iparam.write_sol_constraints

Controls whether the constraint section is written to the solution file.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output, Solution input/output
iparam.write_sol_head

Controls whether the header section is written to the solution file.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output, Solution input/output
iparam.write_sol_ignore_invalid_names

Even if the names are invalid MPS names, then they are employed when writing the solution file.

Default:
off
Accepted:
on, off (see onoffkey)
Groups:
Data input/output, Solution input/output
iparam.write_sol_variables

Controls whether the variables section is written to the solution file.

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output, Solution input/output
iparam.write_task_inc_sol

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

Default:
on
Accepted:
on, off (see onoffkey)
Groups:
Data input/output
iparam.write_xml_mode

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

Default:
row
Accepted:
row, col (see xmlwriteroutputtype)
Groups:
Data input/output

## 16.7.3 String parameters¶

sparam

The enumeration type containing all string parameters.

sparam.bas_sol_file_name

Name of the bas solution file.

Accepted:
Any valid file name.
Groups:
Data input/output, Solution input/output
sparam.data_file_name

Data are read and written to this file.

Accepted:
Any valid file name.
Groups:
Data input/output
sparam.debug_file_name

MOSEK debug file.

Accepted:
Any valid file name.
Groups:
Data input/output
sparam.int_sol_file_name

Name of the int solution file.

Accepted:
Any valid file name.
Groups:
Data input/output, Solution input/output
sparam.itr_sol_file_name

Name of the itr solution file.

Accepted:
Any valid file name.
Groups:
Data input/output, Solution input/output
sparam.mio_debug_string

For internal debugging purposes.

Accepted:
Any valid string.
Groups:
Data input/output
sparam.param_comment_sign

Only the first character in this string is used. It is considered as a start of comment sign in the MOSEK parameter file. Spaces are ignored in the string.

Default:
%%
Accepted:
Any valid string.
Groups:
Data input/output
sparam.param_read_file_name

Modifications to the parameter database is read from this file.

Accepted:
Any valid file name.
Groups:
Data input/output
sparam.param_write_file_name

The parameter database is written to this file.

Accepted:
Any valid file name.
Groups:
Data input/output
sparam.read_mps_bou_name

Name of the BOUNDS vector used. An empty name means that the first BOUNDS vector is used.

Accepted:
Any valid MPS name.
Groups:
Data input/output
sparam.read_mps_obj_name

Name of the free constraint used as objective function. An empty name means that the first constraint is used as objective function.

Accepted:
Any valid MPS name.
Groups:
Data input/output
sparam.read_mps_ran_name

Name of the RANGE vector used. An empty name means that the first RANGE vector is used.

Accepted:
Any valid MPS name.
Groups:
Data input/output
sparam.read_mps_rhs_name

Name of the RHS used. An empty name means that the first RHS vector is used.

Accepted:
Any valid MPS name.
Groups:
Data input/output
sparam.remote_access_token

An access token used to submit tasks to a remote MOSEK server. An access token is a random 32-byte string encoded in base64, i.e. it is a 44 character ASCII string.

Accepted:
Any valid string.
Groups:
Overall system
sparam.sensitivity_file_name

If defined Task.sensitivityreport reads this file as a sensitivity analysis data file specifying the type of analysis to be done.

Accepted:
Any valid string.
Groups:
Data input/output
sparam.sensitivity_res_file_name

If this is a nonempty string, then Task.sensitivityreport writes results to this file.

Accepted:
Any valid string.
Groups:
Data input/output
sparam.sol_filter_xc_low

A filter used to determine which constraints should be listed in the solution file. A value of $$0.5$$ means that all constraints having xc[i]>0.5 should be listed, whereas +0.5 means that all constraints having xc[i]>=blc[i]+0.5 should be listed. An empty filter means that no filter is applied.

Accepted:
Any valid filter.
Groups:
Data input/output, Solution input/output
sparam.sol_filter_xc_upr

A filter used to determine which constraints should be listed in the solution file. A value of 0.5 means that all constraints having xc[i]<0.5 should be listed, whereas -0.5 means all constraints having xc[i]<=buc[i]-0.5 should be listed. An empty filter means that no filter is applied.

Accepted:
Any valid filter.
Groups:
Data input/output, Solution input/output
sparam.sol_filter_xx_low

A filter used to determine which variables should be listed in the solution file. A value of “0.5” means that all constraints having xx[j]>=0.5 should be listed, whereas “+0.5” means that all constraints having xx[j]>=blx[j]+0.5 should be listed. An empty filter means no filter is applied.

Accepted:
Any valid filter.
Groups:
Data input/output, Solution input/output
sparam.sol_filter_xx_upr

A filter used to determine which variables should be listed in the solution file. A value of “0.5” means that all constraints having xx[j]<0.5 should be printed, whereas “-0.5” means all constraints having xx[j]<=bux[j]-0.5 should be listed. An empty filter means no filter is applied.

Accepted:
Any valid file name.
Groups:
Data input/output, Solution input/output
sparam.stat_file_name

Statistics file name.

Accepted:
Any valid file name.
Groups:
Data input/output
sparam.stat_key

Key used when writing the summary file.

Accepted:
Any valid string.
Groups:
Data input/output
sparam.stat_name

Name used when writing the statistics file.

Accepted:
Any valid XML string.
Groups:
Data input/output
sparam.write_lp_gen_var_name

Sometimes when an LP file is written additional variables must be inserted. They will have the prefix denoted by this parameter.

Default:
xmskgen
Accepted:
Any valid string.
Groups:
Data input/output