pulp icon indicating copy to clipboard operation
pulp copied to clipboard

add timeLimit arg to MOSEK API

Open davidggphy opened this issue 3 years ago • 1 comments

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 options is None and not an empty dict. Since using mutable objects as default arguments is not recommended.
  • checks if the timeLimit has been provided ALSO through the options dict and raise a ValueError if so.

davidggphy avatar Aug 24 '22 21:08 davidggphy

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 24 '22 21:08 CLAassistant