The MOSEK Python optimizer API manual Version 7.0 (Revision 141)

Optimizer API for Python - Documentation - Mosek Optimizer API for Python - Documentation - Mosek

25.11.2015 Views

274 APPENDIX A. API REFERENCE maxdbi : double Maximum infeasibility in bounds on dual variables. max{0, max i∈{0,...,n−1} −(s x l ) i , max i∈{0,...,n−1} −(s x u) i , max i∈{0,...,m−1} −(s c l ) i , max i∈{0,...,m−1} −(s c u) i } maxdcni : double Maximum infeasibility in the dual conic constraints. maxdeqi : double Maximum infeasibility in the dual equality constraints. max { ∥ ∥A T y + s x l − s x u − c ∥ ∞ , ‖ − y + s c l − s c } u‖ ∞ maxinti : double Maximum infeasibility in integer constraints. max i∈{0,...,n−1} (min(x i − ⌊x i ⌋, ⌈x i ⌉ − x i )). maxpbi : double Maximum infeasibility in primal bounds on variables. max {0, max i∈1,...,n−1 (x i − u x i ), max i∈1,...,n−1 (li x − x i ), max i∈1,...,n−1 (x c i − u c i), max i∈1,...,n−1 (li c − x c i)} maxpcni : double Maximum infeasibility in the primal conic constraints. maxpeqi : double Maximum infeasibility in primal equality constraints. ‖Ax − x c ‖ ∞ primalobj : double Value of the primal objective. c T x + c f prosta : prosta Problem status. solsta : solsta Solution status. whichsol : soltype Selects a solution. Description: Deprecated. Use Task.getsolutioninfo instead.

A.2. CLASS TASK 275 A.2.133 Task.getsolutioninfo() pobj,pviolcon,pviolvar,pviolbarvar,pviolcone,pviolitg,dobj,dviolcon,dviolvar,dviolbarvar,dviolcones = Task.getsolutioninfo(w Obtains information about of a solution. Arguments dobj : double Dual objective value as computed as computed by Task.getdualobj. dviolbarvar : double Maximal violation of the dual solution associated with the ¯s variable as computed by as computed by Task.getdviolbarvar. dviolcon : double Maximal violation of the dual solution associated with the x c variable as computed by as computed by Task.getdviolcon. dviolcones : double Maximal violation of the dual solution associated with the dual conic constraints as computed by Task.getdviolcones. dviolvar : double Maximal violation of the dual solution associated with the x variable as computed by as computed by Task.getdviolvar. pobj : double The primal objective value as computed by Task.getprimalobj. pviolbarvar : double Maximal primal violation of solution for the ¯X variables where the violations are computed by Task.getpviolbarvar. pviolcon : double Maximal primal violation of the solution associated with the x c variables where the violations are computed by Task.getpviolcon. pviolcone : double Maximal primal violation of solution for the conic constraints where the violations are computed by Task.getpviolcones. pviolitg : double Maximal violation in the integer constraints. The violation for an integer constrained variable x j is given by min(x j − ⌊x j ⌋, ⌈x j ⌉ − x j ). This number is always zero for the interior-point and the basic solutions.

A.2. CLASS TASK 275<br />

A.2.133<br />

Task.getsolutioninfo()<br />

pobj,pviolcon,pviolvar,pviolbarvar,pviolcone,pviolitg,dobj,dviolcon,dviolvar,dviolbarvar,dviolcones = Task.getsolutioninfo(w<br />

Obtains information about of a solution.<br />

Arguments<br />

dobj : double<br />

Dual objective value as computed as computed by Task.getdualobj.<br />

dviolbarvar : double<br />

Maximal violation of the dual solution associated with the ¯s variable as computed by as<br />

computed by Task.getdviolbarvar.<br />

dviolcon : double<br />

Maximal violation of the dual solution associated with the x c variable as computed by as<br />

computed by Task.getdviolcon.<br />

dviolcones : double<br />

Maximal violation of the dual solution associated with the dual conic constraints as computed<br />

by Task.getdviolcones.<br />

dviolvar : double<br />

Maximal violation of the dual solution associated with the x variable as computed by as<br />

computed by Task.getdviolvar.<br />

pobj : double<br />

<strong>The</strong> primal objective value as computed by Task.getprimalobj.<br />

pviolbarvar : double<br />

Maximal primal violation of solution for the ¯X variables where the violations are computed<br />

by Task.getpviolbarvar.<br />

pviolcon : double<br />

Maximal primal violation of the solution associated with the x c variables where the violations<br />

are computed by Task.getpviolcon.<br />

pviolcone : double<br />

Maximal primal violation of solution for the conic constraints where the violations are<br />

computed by Task.getpviolcones.<br />

pviolitg : double<br />

Maximal violation in the integer constraints. <strong>The</strong> violation for an integer constrained variable<br />

x j is given by<br />

min(x j − ⌊x j ⌋, ⌈x j ⌉ − x j ).<br />

This number is always zero for the interior-point and the basic solutions.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!