Open ComboProblem opened 2 weeks ago
Here is a typed copy of the example, for anyone who wants to try to reproduce it:
A = [[-1/5, 2/5], [2/5, -1/5], [1/5, 1/5]]
b = [2, 2, 4]
c = [2, 7]
P = InteractiveLPProblemStandardForm(A, b, c)
Dual = P.dual()
Dual_stand = Dual.standard_form()
Dual_stand.initial_dictionary()
Steps To Reproduce
I have defined an
InteractiveLPProblemStandardForm
P
, then created the dual problem by calling the dual method,Dual = P.dual()
. After that I defined the dual problem as a standard form interactive LP problem via the standard form methodDual_stand = Dual.standard_form()
.Dual_stand
is an instance ofInteractiveLPProblemStandardForm
and I callDual_stand.initial_dictionary()
to create the initial dictionary.See attached example (ignore my spelling mistake).
Expected Behavior
Dual_stand.initial_dictionary()
becomes an instance of :class:LPDictionary
and succeeds.Actual Behavior
A ValueError is raised.
ValueError: variable name '-z' is not alphanumeric
Additional Information
No response
Environment
Checklist