pulp
pulp copied to clipboard
add timeLimit arg to MOSEK API
Problem: the timeLimit argument is not available for the MOSEK solver class.
This has been made explicit in the __init__.
Other changes:
- default parameter for
optionsis None and not an empty dict. Since using mutable objects as default arguments is not recommended. - checks if the
timeLimithas been provided ALSO through theoptionsdict and raise aValueErrorif so.