You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is no direct way to access the optimal dual solution of a linear optimization problem.
Dual solutions are used for analysing the sensitivity of the optimal solution, and also for column generation.
In MixedIntegerLinearProgram it is possible to assign a name to constraint and so, to point out dual variables. The following would resolve this ticket:
Right now, MixedIntegerLinearProgram is already a terrific piece of work. But this enhancement would eliminate the need for me to use another interface to LP solvers, in all but few cases.
I cannot properly estimate how much extra work it would be to realise, but if the dual variables behaved as dictionaries, just like the current primal variables, the interface would be even more convenient. In my dreams, the following works:
It would be nice as well to have a method for changing the coefficient of variable x[i] in constraint y[j], a method to add a whole column to the constraint matrix, and a method for creating the dual.
Currently, there is no direct way to access the optimal dual solution of a linear optimization problem.
Dual solutions are used for analysing the sensitivity of the optimal solution, and also for column generation.
In MixedIntegerLinearProgram it is possible to assign a name to constraint and so, to point out dual variables. The following would resolve this ticket:
Right now, MixedIntegerLinearProgram is already a terrific piece of work. But this enhancement would eliminate the need for me to use another interface to LP solvers, in all but few cases.
I cannot properly estimate how much extra work it would be to realise, but if the dual variables behaved as dictionaries, just like the current primal variables, the interface would be even more convenient. In my dreams, the following works:
It would be nice as well to have a method for changing the coefficient of variable x[i] in constraint y[j], a method to add a whole column to the constraint matrix, and a method for creating the dual.
CC: @sagetrac-Rudi @mkoeppe @dcoudert
Component: numerical
Issue created by migration from https://trac.sagemath.org/ticket/18466
The text was updated successfully, but these errors were encountered: