The MOSEK Python optimizer API manual Version 7.0 (Revision 141)
Optimizer API for Python - Documentation - Mosek Optimizer API for Python - Documentation - Mosek
364 APPENDIX A. API REFERENCE A.3.2 Env.checkoutlicense() Env.checkoutlicense(feature) Check out a license feature from the license server ahead of time. Arguments feature : feature Feature to check out from the license system. Description: Check out a license feature from the license server. Normally the required license features will be automatically checked out the first time it is needed by the function Task.optimize. This function can be used to check out one or more features ahead of time. The license will remain checked out for the lifetime of the MOSEK environment or until the function Env.checkinlicense is called. If a given feature is already checked out when this function is called, only one feature will be checked out from the license server. A.3.3 Env.echointro() Env.echointro(longver) Prints an intro to message stream. Arguments longver : int If non-zero, then the intro is slightly longer. Description: Prints an intro to message stream. A.3.4 Env.getcodedesc() symname,str = Env.getcodedesc(code) Obtains a short description of a response code.
A.3. CLASS ENV 365 Arguments code : rescode A valid MOSEK response code. str : str Obtains a short description of a response code. symname : str Symbolic name corresponding to code. Description: Obtains a short description of the meaning of the response code given by code. A.3.5 Env.getversion() major,minor,build,revision = Env.getversion() Obtains MOSEK version information. Arguments build : int Build number. major : int Major version number. minor : int Minor version number. revision : int Revision number. Description: Obtains MOSEK version information. A.3.6 Env.licensecleanup() Env.licensecleanup() Stops all threads and delete all handles used by the license system. Description: Stops all threads and delete all handles used by the license system. If this function is called, it must be called as the last MOSEK API call. No other MOSEK API calls are valid after this.
- Page 335 and 336: A.2. CLASS TASK 313 Changes the bou
- Page 337 and 338: A.2. CLASS TASK 315 Modifies one li
- Page 339 and 340: A.2. CLASS TASK 317 bkc : boundkey
- Page 341 and 342: A.2. CLASS TASK 319 Arguments j : i
- Page 343 and 344: A.2. CLASS TASK 321 parvalue : int
- 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: A.3. CLASS ENV 363 A.2.278 Task.wri
- 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 and 396: A.6. ALL FUNCTIONS BY NAME 373 Task
- Page 397 and 398: A.6. ALL FUNCTIONS BY NAME 375 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
A.3. CLASS ENV 365<br />
Arguments<br />
code : rescode<br />
A valid <strong>MOSEK</strong> response code.<br />
str : str<br />
Obtains a short description of a response code.<br />
symname : str<br />
Symbolic name corresponding to code.<br />
Description:<br />
Obtains a short description of the meaning of the response code given by code.<br />
A.3.5<br />
Env.getversion()<br />
major,minor,build,revision = Env.getversion()<br />
Obtains <strong>MOSEK</strong> version information.<br />
Arguments<br />
build : int<br />
Build number.<br />
major : int<br />
Major version number.<br />
minor : int<br />
Minor version number.<br />
revision : int<br />
<strong>Revision</strong> number.<br />
Description:<br />
Obtains <strong>MOSEK</strong> version information.<br />
A.3.6<br />
Env.licensecleanup()<br />
Env.licensecleanup()<br />
Stops all threads and delete all handles used by the license system.<br />
Description:<br />
Stops all threads and delete all handles used by the license system. If this function is called, it<br />
must be called as the last <strong>MOSEK</strong> <strong>API</strong> call. No other <strong>MOSEK</strong> <strong>API</strong> calls are valid after this.