Tool to get dual problem from any linear optimization problem (.lp)How can I remember the rules for taking the dual of a linear program (LP)?Guidelines for Linear Optimization approaches?How to take the dual of a conic optimization problem?Correct way to get a dual extreme ray for an infeasible LP in CPLEX / C++Recovering primal optimal solutions from dual sub gradient ascent using ergodic primal sequencesHow to relate dual values of valid inequality to the dual values of the original problem?State-of-the-art algorithms for solving linear programsDuality in mixed integer linear programsBlack-box optimization with linear programming?
Warning with deprecated style option
Understanding of big-O massively improved when I began thinking of orders as sets. How to apply the same approach to big-Theta?
In Excel, is there a shortcut to hide a wide range of columns without mouse-dragging?
What happens when a photon "dies"?
How did 36-bit computers format ARPANET packets?
Should I invest ~18k being 19 years old?
Importing a Google Sheet including blank cells (default is ragged array)
How would I measure the Carbon Dioxide content in Coca Cola over a period of time?
Corridor seats on the TGV — why? Are seat reservations not always mandatory?
Limit number of matches of find command
Why didn't classical music use drums?
"Government transplant" been tried? At what scale, and what were the results?
Can you suck magic away from a wizard?
Java OOP Temperature Converter
A story where a name is to be guessed
Calculate this integral over the real line, seem hard, except that the answer is just 0 somehow
How would sword design change if the aim was to cause as much immediate bleeding as possible?
How are the Van der Waals constants a and b related to each other?
Lock screen if I leave my seat?
What game has this black main menu?
Would it have been possible to re-fuel the planes in the air?
an adjective for a person who is so lazy that he is willing to lie
Should I sign a NDA that holds me liable for legal fees even if I am in the right?
How to be ready for The Rise of Skywalker?
Tool to get dual problem from any linear optimization problem (.lp)
How can I remember the rules for taking the dual of a linear program (LP)?Guidelines for Linear Optimization approaches?How to take the dual of a conic optimization problem?Correct way to get a dual extreme ray for an infeasible LP in CPLEX / C++Recovering primal optimal solutions from dual sub gradient ascent using ergodic primal sequencesHow to relate dual values of valid inequality to the dual values of the original problem?State-of-the-art algorithms for solving linear programsDuality in mixed integer linear programsBlack-box optimization with linear programming?
$begingroup$
Is there a tool that reads any linear optimization problem (for example an .lp or .mps file), converts it to the dual problem and prints the dual problem?
linear-programming duality
$endgroup$
add a comment
|
$begingroup$
Is there a tool that reads any linear optimization problem (for example an .lp or .mps file), converts it to the dual problem and prints the dual problem?
linear-programming duality
$endgroup$
add a comment
|
$begingroup$
Is there a tool that reads any linear optimization problem (for example an .lp or .mps file), converts it to the dual problem and prints the dual problem?
linear-programming duality
$endgroup$
Is there a tool that reads any linear optimization problem (for example an .lp or .mps file), converts it to the dual problem and prints the dual problem?
linear-programming duality
linear-programming duality
edited Oct 2 at 17:23
Laurent Perron
5982 silver badges10 bronze badges
5982 silver badges10 bronze badges
asked Oct 2 at 13:58
JaBeJaBe
3718 bronze badges
3718 bronze badges
add a comment
|
add a comment
|
2 Answers
2
active
oldest
votes
$begingroup$
I recommend having a look at the most recent developments around JuMP. They have developed two interesting packages this year:
MathOptFormat.jl, that allows to import/export optimization problem in MPS, LP, CBF, etc...
Dualization.jl, that allows to dualize automatically any optimization problem in conic form
You can find here a Julia script that takes as input a MPS file and output the dual problem in a LP file.
However, I get some problems with MathOptFormat, as this package is not yet able to import LP files... Still a work in progress I guess!
$endgroup$
$begingroup$
For me, the Julia script does not work (see my comment in the Gist).
$endgroup$
– JaBe
Oct 14 at 17:40
add a comment
|
$begingroup$
The link includes an online converter from primal to dual linear programs. The downside is you need to input all the coefficients and variables into the pre-defined form on the webpage.
$endgroup$
3
$begingroup$
Here is another similar calculator: mathstools.com/section/main/… - but the one you posted seems much easier to use
$endgroup$
– Dipayan Banerjee
Oct 2 at 19:51
1
$begingroup$
The link from the answer also accepts the problem pasted in a text format. Which text format is this? It's not lp or mps.
$endgroup$
– JaBe
Oct 5 at 12:14
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "700"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2for.stackexchange.com%2fquestions%2f2718%2ftool-to-get-dual-problem-from-any-linear-optimization-problem-lp%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I recommend having a look at the most recent developments around JuMP. They have developed two interesting packages this year:
MathOptFormat.jl, that allows to import/export optimization problem in MPS, LP, CBF, etc...
Dualization.jl, that allows to dualize automatically any optimization problem in conic form
You can find here a Julia script that takes as input a MPS file and output the dual problem in a LP file.
However, I get some problems with MathOptFormat, as this package is not yet able to import LP files... Still a work in progress I guess!
$endgroup$
$begingroup$
For me, the Julia script does not work (see my comment in the Gist).
$endgroup$
– JaBe
Oct 14 at 17:40
add a comment
|
$begingroup$
I recommend having a look at the most recent developments around JuMP. They have developed two interesting packages this year:
MathOptFormat.jl, that allows to import/export optimization problem in MPS, LP, CBF, etc...
Dualization.jl, that allows to dualize automatically any optimization problem in conic form
You can find here a Julia script that takes as input a MPS file and output the dual problem in a LP file.
However, I get some problems with MathOptFormat, as this package is not yet able to import LP files... Still a work in progress I guess!
$endgroup$
$begingroup$
For me, the Julia script does not work (see my comment in the Gist).
$endgroup$
– JaBe
Oct 14 at 17:40
add a comment
|
$begingroup$
I recommend having a look at the most recent developments around JuMP. They have developed two interesting packages this year:
MathOptFormat.jl, that allows to import/export optimization problem in MPS, LP, CBF, etc...
Dualization.jl, that allows to dualize automatically any optimization problem in conic form
You can find here a Julia script that takes as input a MPS file and output the dual problem in a LP file.
However, I get some problems with MathOptFormat, as this package is not yet able to import LP files... Still a work in progress I guess!
$endgroup$
I recommend having a look at the most recent developments around JuMP. They have developed two interesting packages this year:
MathOptFormat.jl, that allows to import/export optimization problem in MPS, LP, CBF, etc...
Dualization.jl, that allows to dualize automatically any optimization problem in conic form
You can find here a Julia script that takes as input a MPS file and output the dual problem in a LP file.
However, I get some problems with MathOptFormat, as this package is not yet able to import LP files... Still a work in progress I guess!
answered Oct 10 at 16:23
fpacaudfpacaud
7611 silver badge5 bronze badges
7611 silver badge5 bronze badges
$begingroup$
For me, the Julia script does not work (see my comment in the Gist).
$endgroup$
– JaBe
Oct 14 at 17:40
add a comment
|
$begingroup$
For me, the Julia script does not work (see my comment in the Gist).
$endgroup$
– JaBe
Oct 14 at 17:40
$begingroup$
For me, the Julia script does not work (see my comment in the Gist).
$endgroup$
– JaBe
Oct 14 at 17:40
$begingroup$
For me, the Julia script does not work (see my comment in the Gist).
$endgroup$
– JaBe
Oct 14 at 17:40
add a comment
|
$begingroup$
The link includes an online converter from primal to dual linear programs. The downside is you need to input all the coefficients and variables into the pre-defined form on the webpage.
$endgroup$
3
$begingroup$
Here is another similar calculator: mathstools.com/section/main/… - but the one you posted seems much easier to use
$endgroup$
– Dipayan Banerjee
Oct 2 at 19:51
1
$begingroup$
The link from the answer also accepts the problem pasted in a text format. Which text format is this? It's not lp or mps.
$endgroup$
– JaBe
Oct 5 at 12:14
add a comment
|
$begingroup$
The link includes an online converter from primal to dual linear programs. The downside is you need to input all the coefficients and variables into the pre-defined form on the webpage.
$endgroup$
3
$begingroup$
Here is another similar calculator: mathstools.com/section/main/… - but the one you posted seems much easier to use
$endgroup$
– Dipayan Banerjee
Oct 2 at 19:51
1
$begingroup$
The link from the answer also accepts the problem pasted in a text format. Which text format is this? It's not lp or mps.
$endgroup$
– JaBe
Oct 5 at 12:14
add a comment
|
$begingroup$
The link includes an online converter from primal to dual linear programs. The downside is you need to input all the coefficients and variables into the pre-defined form on the webpage.
$endgroup$
The link includes an online converter from primal to dual linear programs. The downside is you need to input all the coefficients and variables into the pre-defined form on the webpage.
answered Oct 2 at 14:15
Oguz ToragayOguz Toragay
5,7901 gold badge3 silver badges33 bronze badges
5,7901 gold badge3 silver badges33 bronze badges
3
$begingroup$
Here is another similar calculator: mathstools.com/section/main/… - but the one you posted seems much easier to use
$endgroup$
– Dipayan Banerjee
Oct 2 at 19:51
1
$begingroup$
The link from the answer also accepts the problem pasted in a text format. Which text format is this? It's not lp or mps.
$endgroup$
– JaBe
Oct 5 at 12:14
add a comment
|
3
$begingroup$
Here is another similar calculator: mathstools.com/section/main/… - but the one you posted seems much easier to use
$endgroup$
– Dipayan Banerjee
Oct 2 at 19:51
1
$begingroup$
The link from the answer also accepts the problem pasted in a text format. Which text format is this? It's not lp or mps.
$endgroup$
– JaBe
Oct 5 at 12:14
3
3
$begingroup$
Here is another similar calculator: mathstools.com/section/main/… - but the one you posted seems much easier to use
$endgroup$
– Dipayan Banerjee
Oct 2 at 19:51
$begingroup$
Here is another similar calculator: mathstools.com/section/main/… - but the one you posted seems much easier to use
$endgroup$
– Dipayan Banerjee
Oct 2 at 19:51
1
1
$begingroup$
The link from the answer also accepts the problem pasted in a text format. Which text format is this? It's not lp or mps.
$endgroup$
– JaBe
Oct 5 at 12:14
$begingroup$
The link from the answer also accepts the problem pasted in a text format. Which text format is this? It's not lp or mps.
$endgroup$
– JaBe
Oct 5 at 12:14
add a comment
|
Thanks for contributing an answer to Operations Research Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2for.stackexchange.com%2fquestions%2f2718%2ftool-to-get-dual-problem-from-any-linear-optimization-problem-lp%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown