The MOSEK Python optimizer API manual Version 7.0 (Revision 141)
Optimizer API for Python - Documentation - Mosek Optimizer API for Python - Documentation - Mosek
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.
- Page 345 and 346: A.2. CLASS TASK 323 A.2.207 Task.pu
- Page 347 and 348: A.2. CLASS TASK 325 Sets a string p
- Page 349 and 350: A.2. CLASS TASK 327 Description: Re
- Page 351 and 352: A.2. CLASS TASK 329 qosubj : int[]
- Page 353 and 354: A.2. CLASS TASK 331 Sets the status
- Page 355 and 356: A.2. CLASS TASK 333 A.2.224 Task.pu
- Page 357 and 358: A.2. CLASS TASK 335 Arguments sux :
- Page 359 and 360: A.2. CLASS TASK 337 y : double[] Ve
- Page 361 and 362: A.2. CLASS TASK 339 A.2.233 Task.pu
- Page 363 and 364: A.2. CLASS TASK 341 last : int Last
- Page 365 and 366: A.2. CLASS TASK 343 See also • Ta
- Page 367 and 368: A.2. CLASS TASK 345 A.2.243 Task.pu
- Page 369 and 370: A.2. CLASS TASK 347 Description: Se
- Page 371 and 372: A.2. CLASS TASK 349 Sets a slice of
- Page 373 and 374: A.2. CLASS TASK 351 A.2.254 Task.re
- Page 375 and 376: A.2. CLASS TASK 353 wux : double[]
- Page 377 and 378: A.2. CLASS TASK 355 See also • Ta
- Page 379 and 380: A.2. CLASS TASK 357 isdef : int Is
- Page 381 and 382: A.2. CLASS TASK 359 A.2.269 Task.st
- Page 383 and 384: A.2. CLASS TASK 361 Description: Wr
- Page 385 and 386: A.3. CLASS ENV 363 A.2.278 Task.wri
- Page 387 and 388: A.3. CLASS ENV 365 Arguments code :
- Page 389 and 390: A.3. CLASS ENV 367 Arguments keepdl
- Page 391 and 392: A.4. CALLBACK FUNCTIONS AND RELATED
- Page 393 and 394: A.6. ALL FUNCTIONS BY NAME 371 Task
- Page 395: A.6. ALL FUNCTIONS BY NAME 373 Task
- Page 399 and 400: A.6. ALL FUNCTIONS BY NAME 377 Task
- Page 401 and 402: A.6. ALL FUNCTIONS BY NAME 379 Task
- Page 403 and 404: A.6. ALL FUNCTIONS BY NAME 381 Task
- Page 405 and 406: A.6. ALL FUNCTIONS BY NAME 383 Task
- Page 407 and 408: A.6. ALL FUNCTIONS BY NAME 385 Task
- Page 409 and 410: A.6. ALL FUNCTIONS BY NAME 387 Task
- Page 411 and 412: Appendix B Parameters Parameters gr
- Page 413 and 414: 391 • iparam.log file. If turned
- Page 415 and 416: 393 • dparam.intpnt nl tol rel st
- Page 417 and 418: 395 • iparam.mio construct sol. C
- Page 419 and 420: 397 • dparam.intpnt nl tol mu red
- Page 421 and 422: 399 • iparam.mio mode. Turns on/o
- Page 423 and 424: 401 • iparam.sim solve form. Cont
- Page 425 and 426: B.1. DPARAM: DOUBLE PARAMETERS 403
- Page 427 and 428: B.1. DPARAM: DOUBLE PARAMETERS 405
- Page 429 and 430: B.1. DPARAM: DOUBLE PARAMETERS 407
- Page 431 and 432: B.1. DPARAM: DOUBLE PARAMETERS 409
- Page 433 and 434: B.1. DPARAM: DOUBLE PARAMETERS 411
- Page 435 and 436: B.1. DPARAM: DOUBLE PARAMETERS 413
- Page 437 and 438: B.1. DPARAM: DOUBLE PARAMETERS 415
- Page 439 and 440: B.1. DPARAM: DOUBLE PARAMETERS 417
- Page 441 and 442: B.1. DPARAM: DOUBLE PARAMETERS 419
- Page 443 and 444: B.1. DPARAM: DOUBLE PARAMETERS 421
- Page 445 and 446: B.1. DPARAM: DOUBLE PARAMETERS 423
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.