-
-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Milestone
Description
CVXOPTBackend forgets to set its initial problem_name, and as a result the MixedIntegerLinearProgram
cannot print itself.
sage: p = MixedIntegerLinearProgram(solver="CVXOPT")
sage: p
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
...
TypeError: cannot concatenate 'str' and 'NoneType' objects
<repr(<sage.numerical.mip.MixedIntegerLinearProgram at 0x190970a70>) failed: TypeError: cannot concatenate 'str' and 'NoneType' objects>
CC: @dimpase @ingolfured @videlec @jdemeyer
Component: numerical
Author: Matthias Koeppe
Branch/Commit: f1af4ec
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/20332