13.3 Auxiliary functions¶
- mosekenv(command, args)¶
Additional commands to manage the curent MOSEK session. The output type depends on the command.
command = "version": Return the MOSEK version. The output is a triple of integers[majorver,minorver,revision].command = "checkinlicense": Checks in all currently held licenses. No output.command = "checkoutlicense": Check out a license prior to optimization. The argument"args"should be one of the strings"pts"or"pton"indicating which license part should be checked out. Only relevant for floating licenses. No output.
- Parameters:
command(string) – (required) The command to execute, possibly with additional arguments. See above.args(string) – (optional) Additional arguments of the command. See above.
Example:
[major,minor,rev] = mosekenv("version") mosekenv("checkoutlicense", "pton") mosekenv("checkinlicense")