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

374 APPENDIX A. API REFERENCE Task.getconnameindex Checks whether the name somename has been assigned to any constraint. Task.getconnamelen Obtains the length of a name of a constraint variable. Task.getcslice Obtains a sequence of coefficients from the objective. Task.getdbi Deprecated. Task.getdcni Deprecated. Task.getdeqi Deprecated. Task.getdimbarvarj Obtains the dimension of a symmetric matrix variable. Task.getdouinf Obtains a double information item. Task.getdouparam Obtains a double parameter. Task.getdualobj Computes the dual objective value associated with the solution. Task.getdviolbarvar Computes the violation of dual solution for a set of barx variables. Task.getdviolcon Computes the violation of a dual solution associated with a set of constraints. Task.getdviolcones Computes the violation of a solution for set of dual conic constraints. Task.getdviolvar Computes the violation of a dual solution associated with a set of x variables. Task.getinfeasiblesubproblem Obtains an infeasible sub problem. Task.getinti Deprecated.

A.6. ALL FUNCTIONS BY NAME 375 Task.getintinf Obtains an integer information item. Task.getintparam Obtains an integer parameter. Task.getlenbarvarj Obtains the length if the j’th semidefinite variables. Task.getlintinf Obtains an integer information item. Task.getmaxnumanz Obtains number of preallocated non-zeros in the linear constraint matrix. Task.getmaxnumbarvar Obtains the number of semidefinite variables. Task.getmaxnumcon Obtains the number of preallocated constraints in the optimization task. Task.getmaxnumcone Obtains the number of preallocated cones in the optimization task. Task.getmaxnumqnz Obtains the number of preallocated non-zeros for all quadratic terms in objective and constraints. Task.getmaxnumvar Obtains the maximum number variables allowed. Task.getmemusage Obtains information about the amount of memory used by a task. Task.getnumanz Obtains the number of non-zeros in the coefficient matrix. Task.getnumanz64 Obtains the number of non-zeros in the coefficient matrix. Task.getnumbarablocktriplets Obtains an upper bound on the number of scalar elements in the block triplet form of bara. Task.getnumbaranz Get the number of nonzero elements in barA. Task.getnumbarcblocktriplets Obtains an upper bound on the number of elements in the block triplet form of barc.

A.6. ALL FUNCTIONS BY NAME 375<br />

Task.getintinf<br />

Obtains an integer information item.<br />

Task.getintparam<br />

Obtains an integer parameter.<br />

Task.getlenbarvarj<br />

Obtains the length if the j’th semidefinite variables.<br />

Task.getlintinf<br />

Obtains an integer information item.<br />

Task.getmaxnumanz<br />

Obtains number of preallocated non-zeros in the linear constraint matrix.<br />

Task.getmaxnumbarvar<br />

Obtains the number of semidefinite variables.<br />

Task.getmaxnumcon<br />

Obtains the number of preallocated constraints in the optimization task.<br />

Task.getmaxnumcone<br />

Obtains the number of preallocated cones in the optimization task.<br />

Task.getmaxnumqnz<br />

Obtains the number of preallocated non-zeros for all quadratic terms in objective and constraints.<br />

Task.getmaxnumvar<br />

Obtains the maximum number variables allowed.<br />

Task.getmemusage<br />

Obtains information about the amount of memory used by a task.<br />

Task.getnumanz<br />

Obtains the number of non-zeros in the coefficient matrix.<br />

Task.getnumanz64<br />

Obtains the number of non-zeros in the coefficient matrix.<br />

Task.getnumbarablocktriplets<br />

Obtains an upper bound on the number of scalar elements in the block triplet form of bara.<br />

Task.getnumbaranz<br />

Get the number of nonzero elements in barA.<br />

Task.getnumbarcblocktriplets<br />

Obtains an upper bound on the number of elements in the block triplet form of barc.

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

Saved successfully!

Ooh no, something went wrong!