What's the use case of commercial optimizer when we have Tensorflow?Are there reusable formulations/heuristics shared with the community?Gurobi's “Out of memory” error without exhausting the RAM?How to choose an architecture for an OR web app and how to learn the tech stack associated?
Why aren't faces sharp in my f/1.8 portraits even though I'm carefully using center-point autofocus?
Is determiner 'a' needed here?
Delete n lines skip 1 line script
String whitespaces
Are fuzzy sets appreciated by OR community?
お仕事に学校頑張って meaning
Beyond Futuristic Technology for an Alien Warship?
Practicality of 30 year fixed mortgage at 55 years of age
Lost passport which have valid student visa but I make new passport unable paste
Windows 10 deletes lots of tiny files super slowly. Anything that can be done to speed it up?
Assembly of PCBs containing a mix of SMT and thru-hole parts?
Preventing an argument to be a complex number
Suffocation while cooking under an umbrella?
A famous scholar sent me an unpublished draft of hers. Then she died. I think her work should be published. What should I do?
Need Improvement on Script Which Continuously Tests Website
Garage door sticks on a bolt
If a spaceship ran out of fuel somewhere in space between Earth and Mars, does it slowly drift off to the Sun?
What is the difference between an astronaut in the ISS and a freediver in perfect neutral buoyancy?
Would you write key signatures for non-conventional scales?
How can this Stack Exchange site have an animated favicon?
Does the caster know when a spell with a variable duration ends?
Calculate the Ultraradical
Is population size a parameter, or sample size a statistic?
Subverting the emotional woman and stoic man trope
What's the use case of commercial optimizer when we have Tensorflow?
Are there reusable formulations/heuristics shared with the community?Gurobi's “Out of memory” error without exhausting the RAM?How to choose an architecture for an OR web app and how to learn the tech stack associated?
$begingroup$
Not sure if this question is appropriate here.
I used to run customized spline fitting with commercial package such as mosek and gurobi.
Since beginning of this year, I tried to migrate to open source packages like tensorflow. I am surprised that the performance is not too bad.
They only difference seems to me that commercial packages are faster.
What's your view on this ? Can we say that commercial packages are more for real-time or semi-real-time problems where speed matters?
software
New contributor
eight3 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
add a comment
|
$begingroup$
Not sure if this question is appropriate here.
I used to run customized spline fitting with commercial package such as mosek and gurobi.
Since beginning of this year, I tried to migrate to open source packages like tensorflow. I am surprised that the performance is not too bad.
They only difference seems to me that commercial packages are faster.
What's your view on this ? Can we say that commercial packages are more for real-time or semi-real-time problems where speed matters?
software
New contributor
eight3 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
6
$begingroup$
Hi @eight3, welcome to OR.SE. I'd say that you are comparing software packages with very different aims and capabilities. Tensorflow was developed to solve problems which involve (deep) neural nets. Mosek and gurobi on the other hand are usually used to solve optimization problems that involve discrete decisions (i.e. variables that can take only discrete values). While they are also able to solve (certain) continuous problems, they perform best on the former problems. Tensorflow on the other hand is specifically tailored for the neural nets.
$endgroup$
– JakobS
6 hours ago
$begingroup$
@JakobS, thanks for the comments. When you say discrete decision, are you referring to Mixed-Integer optimization?
$endgroup$
– eight3
6 hours ago
1
$begingroup$
Yes, so regarding your specific problem of spline fitting I'd suppose you do not have any discrete aspects? In that case you probably could a variety of solvers from different areas (Ipopt for example is a nonlinear solver which probably could also be worth a try).
$endgroup$
– JakobS
6 hours ago
add a comment
|
$begingroup$
Not sure if this question is appropriate here.
I used to run customized spline fitting with commercial package such as mosek and gurobi.
Since beginning of this year, I tried to migrate to open source packages like tensorflow. I am surprised that the performance is not too bad.
They only difference seems to me that commercial packages are faster.
What's your view on this ? Can we say that commercial packages are more for real-time or semi-real-time problems where speed matters?
software
New contributor
eight3 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
Not sure if this question is appropriate here.
I used to run customized spline fitting with commercial package such as mosek and gurobi.
Since beginning of this year, I tried to migrate to open source packages like tensorflow. I am surprised that the performance is not too bad.
They only difference seems to me that commercial packages are faster.
What's your view on this ? Can we say that commercial packages are more for real-time or semi-real-time problems where speed matters?
software
software
New contributor
eight3 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
eight3 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
eight3 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 8 hours ago
eight3eight3
711 bronze badge
711 bronze badge
New contributor
eight3 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
eight3 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
6
$begingroup$
Hi @eight3, welcome to OR.SE. I'd say that you are comparing software packages with very different aims and capabilities. Tensorflow was developed to solve problems which involve (deep) neural nets. Mosek and gurobi on the other hand are usually used to solve optimization problems that involve discrete decisions (i.e. variables that can take only discrete values). While they are also able to solve (certain) continuous problems, they perform best on the former problems. Tensorflow on the other hand is specifically tailored for the neural nets.
$endgroup$
– JakobS
6 hours ago
$begingroup$
@JakobS, thanks for the comments. When you say discrete decision, are you referring to Mixed-Integer optimization?
$endgroup$
– eight3
6 hours ago
1
$begingroup$
Yes, so regarding your specific problem of spline fitting I'd suppose you do not have any discrete aspects? In that case you probably could a variety of solvers from different areas (Ipopt for example is a nonlinear solver which probably could also be worth a try).
$endgroup$
– JakobS
6 hours ago
add a comment
|
6
$begingroup$
Hi @eight3, welcome to OR.SE. I'd say that you are comparing software packages with very different aims and capabilities. Tensorflow was developed to solve problems which involve (deep) neural nets. Mosek and gurobi on the other hand are usually used to solve optimization problems that involve discrete decisions (i.e. variables that can take only discrete values). While they are also able to solve (certain) continuous problems, they perform best on the former problems. Tensorflow on the other hand is specifically tailored for the neural nets.
$endgroup$
– JakobS
6 hours ago
$begingroup$
@JakobS, thanks for the comments. When you say discrete decision, are you referring to Mixed-Integer optimization?
$endgroup$
– eight3
6 hours ago
1
$begingroup$
Yes, so regarding your specific problem of spline fitting I'd suppose you do not have any discrete aspects? In that case you probably could a variety of solvers from different areas (Ipopt for example is a nonlinear solver which probably could also be worth a try).
$endgroup$
– JakobS
6 hours ago
6
6
$begingroup$
Hi @eight3, welcome to OR.SE. I'd say that you are comparing software packages with very different aims and capabilities. Tensorflow was developed to solve problems which involve (deep) neural nets. Mosek and gurobi on the other hand are usually used to solve optimization problems that involve discrete decisions (i.e. variables that can take only discrete values). While they are also able to solve (certain) continuous problems, they perform best on the former problems. Tensorflow on the other hand is specifically tailored for the neural nets.
$endgroup$
– JakobS
6 hours ago
$begingroup$
Hi @eight3, welcome to OR.SE. I'd say that you are comparing software packages with very different aims and capabilities. Tensorflow was developed to solve problems which involve (deep) neural nets. Mosek and gurobi on the other hand are usually used to solve optimization problems that involve discrete decisions (i.e. variables that can take only discrete values). While they are also able to solve (certain) continuous problems, they perform best on the former problems. Tensorflow on the other hand is specifically tailored for the neural nets.
$endgroup$
– JakobS
6 hours ago
$begingroup$
@JakobS, thanks for the comments. When you say discrete decision, are you referring to Mixed-Integer optimization?
$endgroup$
– eight3
6 hours ago
$begingroup$
@JakobS, thanks for the comments. When you say discrete decision, are you referring to Mixed-Integer optimization?
$endgroup$
– eight3
6 hours ago
1
1
$begingroup$
Yes, so regarding your specific problem of spline fitting I'd suppose you do not have any discrete aspects? In that case you probably could a variety of solvers from different areas (Ipopt for example is a nonlinear solver which probably could also be worth a try).
$endgroup$
– JakobS
6 hours ago
$begingroup$
Yes, so regarding your specific problem of spline fitting I'd suppose you do not have any discrete aspects? In that case you probably could a variety of solvers from different areas (Ipopt for example is a nonlinear solver which probably could also be worth a try).
$endgroup$
– JakobS
6 hours ago
add a comment
|
1 Answer
1
active
oldest
votes
$begingroup$
I'd say that you are comparing software packages with very different aims and capabilities. Tensorflow was developed to solve problems which involve (deep) neural nets. Mosek and gurobi on the other hand are usually used to solve optimization problems that involve discrete decisions (i.e. variables that can take only discrete values which means you are dealing with a Mixed-Integer Optimization Problem). While they are also able to solve (certain) continuous problems, they perform best on the former problems. Tensorflow on the other hand is specifically tailored for the neural nets.
Regarding your specific problem of spline fitting I'd suppose you do not have any discrete aspects? In that case you probably could use a variety of solvers from different areas (Ipopt for example is a nonlinear solver which probably could also be worth a try). Again, special tailored algorithms and program packages will very likely perform better than general purpose programs or algorithms that work on a generalized form of a problem.
For example you can state SVM as a linear problem and solve it via a linear solver (CLP, SCIP, Gurobi, Mosek, CPLEX, Xpress, you name it...) but specialized SVM solvers will probably perform better as they use special tricks which are inherent in the underlying structure of the problem. General problem solvers might not be able to detect these structures and thus perform not as good. To be honest I would be very interested in a benchmark between programs specifically written for SVM and general purpose LP solvers that solve the problem.
$endgroup$
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
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
eight3 is a new contributor. Be nice, and check out our Code of Conduct.
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%2f2637%2fwhats-the-use-case-of-commercial-optimizer-when-we-have-tensorflow%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I'd say that you are comparing software packages with very different aims and capabilities. Tensorflow was developed to solve problems which involve (deep) neural nets. Mosek and gurobi on the other hand are usually used to solve optimization problems that involve discrete decisions (i.e. variables that can take only discrete values which means you are dealing with a Mixed-Integer Optimization Problem). While they are also able to solve (certain) continuous problems, they perform best on the former problems. Tensorflow on the other hand is specifically tailored for the neural nets.
Regarding your specific problem of spline fitting I'd suppose you do not have any discrete aspects? In that case you probably could use a variety of solvers from different areas (Ipopt for example is a nonlinear solver which probably could also be worth a try). Again, special tailored algorithms and program packages will very likely perform better than general purpose programs or algorithms that work on a generalized form of a problem.
For example you can state SVM as a linear problem and solve it via a linear solver (CLP, SCIP, Gurobi, Mosek, CPLEX, Xpress, you name it...) but specialized SVM solvers will probably perform better as they use special tricks which are inherent in the underlying structure of the problem. General problem solvers might not be able to detect these structures and thus perform not as good. To be honest I would be very interested in a benchmark between programs specifically written for SVM and general purpose LP solvers that solve the problem.
$endgroup$
add a comment
|
$begingroup$
I'd say that you are comparing software packages with very different aims and capabilities. Tensorflow was developed to solve problems which involve (deep) neural nets. Mosek and gurobi on the other hand are usually used to solve optimization problems that involve discrete decisions (i.e. variables that can take only discrete values which means you are dealing with a Mixed-Integer Optimization Problem). While they are also able to solve (certain) continuous problems, they perform best on the former problems. Tensorflow on the other hand is specifically tailored for the neural nets.
Regarding your specific problem of spline fitting I'd suppose you do not have any discrete aspects? In that case you probably could use a variety of solvers from different areas (Ipopt for example is a nonlinear solver which probably could also be worth a try). Again, special tailored algorithms and program packages will very likely perform better than general purpose programs or algorithms that work on a generalized form of a problem.
For example you can state SVM as a linear problem and solve it via a linear solver (CLP, SCIP, Gurobi, Mosek, CPLEX, Xpress, you name it...) but specialized SVM solvers will probably perform better as they use special tricks which are inherent in the underlying structure of the problem. General problem solvers might not be able to detect these structures and thus perform not as good. To be honest I would be very interested in a benchmark between programs specifically written for SVM and general purpose LP solvers that solve the problem.
$endgroup$
add a comment
|
$begingroup$
I'd say that you are comparing software packages with very different aims and capabilities. Tensorflow was developed to solve problems which involve (deep) neural nets. Mosek and gurobi on the other hand are usually used to solve optimization problems that involve discrete decisions (i.e. variables that can take only discrete values which means you are dealing with a Mixed-Integer Optimization Problem). While they are also able to solve (certain) continuous problems, they perform best on the former problems. Tensorflow on the other hand is specifically tailored for the neural nets.
Regarding your specific problem of spline fitting I'd suppose you do not have any discrete aspects? In that case you probably could use a variety of solvers from different areas (Ipopt for example is a nonlinear solver which probably could also be worth a try). Again, special tailored algorithms and program packages will very likely perform better than general purpose programs or algorithms that work on a generalized form of a problem.
For example you can state SVM as a linear problem and solve it via a linear solver (CLP, SCIP, Gurobi, Mosek, CPLEX, Xpress, you name it...) but specialized SVM solvers will probably perform better as they use special tricks which are inherent in the underlying structure of the problem. General problem solvers might not be able to detect these structures and thus perform not as good. To be honest I would be very interested in a benchmark between programs specifically written for SVM and general purpose LP solvers that solve the problem.
$endgroup$
I'd say that you are comparing software packages with very different aims and capabilities. Tensorflow was developed to solve problems which involve (deep) neural nets. Mosek and gurobi on the other hand are usually used to solve optimization problems that involve discrete decisions (i.e. variables that can take only discrete values which means you are dealing with a Mixed-Integer Optimization Problem). While they are also able to solve (certain) continuous problems, they perform best on the former problems. Tensorflow on the other hand is specifically tailored for the neural nets.
Regarding your specific problem of spline fitting I'd suppose you do not have any discrete aspects? In that case you probably could use a variety of solvers from different areas (Ipopt for example is a nonlinear solver which probably could also be worth a try). Again, special tailored algorithms and program packages will very likely perform better than general purpose programs or algorithms that work on a generalized form of a problem.
For example you can state SVM as a linear problem and solve it via a linear solver (CLP, SCIP, Gurobi, Mosek, CPLEX, Xpress, you name it...) but specialized SVM solvers will probably perform better as they use special tricks which are inherent in the underlying structure of the problem. General problem solvers might not be able to detect these structures and thus perform not as good. To be honest I would be very interested in a benchmark between programs specifically written for SVM and general purpose LP solvers that solve the problem.
answered 2 hours ago
JakobSJakobS
1,5383 silver badges20 bronze badges
1,5383 silver badges20 bronze badges
add a comment
|
add a comment
|
eight3 is a new contributor. Be nice, and check out our Code of Conduct.
eight3 is a new contributor. Be nice, and check out our Code of Conduct.
eight3 is a new contributor. Be nice, and check out our Code of Conduct.
eight3 is a new contributor. Be nice, and check out our Code of Conduct.
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%2f2637%2fwhats-the-use-case-of-commercial-optimizer-when-we-have-tensorflow%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
6
$begingroup$
Hi @eight3, welcome to OR.SE. I'd say that you are comparing software packages with very different aims and capabilities. Tensorflow was developed to solve problems which involve (deep) neural nets. Mosek and gurobi on the other hand are usually used to solve optimization problems that involve discrete decisions (i.e. variables that can take only discrete values). While they are also able to solve (certain) continuous problems, they perform best on the former problems. Tensorflow on the other hand is specifically tailored for the neural nets.
$endgroup$
– JakobS
6 hours ago
$begingroup$
@JakobS, thanks for the comments. When you say discrete decision, are you referring to Mixed-Integer optimization?
$endgroup$
– eight3
6 hours ago
1
$begingroup$
Yes, so regarding your specific problem of spline fitting I'd suppose you do not have any discrete aspects? In that case you probably could a variety of solvers from different areas (Ipopt for example is a nonlinear solver which probably could also be worth a try).
$endgroup$
– JakobS
6 hours ago