 | | From: | tiger | | Subject: | Matlab vs. CPLEX | | Date: | 16 Jan 2005 15:22:01 -0800 |
|
|
 | I am new in the OR area. I have to deal with a linear programming problem. The researchers in my field used CPLEX to solve the problem. I wonder if I can use MATLAB to do the same thing ( I already installed the operation research toolbox) because I cannot access to the CPLEX. Can anyone help me to see if I can still use the MATLAB to solve the linear programming problem? Are there any significant difference between MATLAB and CPLEX in terms of their limitations or other stuff? Thanks.
|
|
 | | From: | tiger | | Subject: | Re: Matlab vs. CPLEX | | Date: | 18 Jan 2005 13:55:32 -0800 |
|
|
 | HI Erling, Thank you very much for this information. My problem is binary (0/1) linear programming. I checked this website and I found that "The mixed integer optimizer is a separately licensed option". I am a doctoral student and would like to know how I can use MOSEK with the mixed integer optimizer for free or a student discount.
Thanks!
|
|
 | | From: | hansm | | Subject: | Re: Matlab vs. CPLEX | | Date: | 16 Jan 2005 16:06:01 -0800 |
|
|
 | Hi, one quite important point: you did not say if the LP is continuous or mixex-integer. LINPROG in the optimization toolbox is OK for the former but you can use free codes with Matlab interface, see the LP section of http://plato.asu.edu/guide.html for example, QSopt. For MIP or MILP it is a little harder to find competitive alternatives, but see again the same source. Finally, you can use NEOS http://neos.mcs.anll.gov/ For comparisons of codes see the benchmark section of the first link. Hans Mittelmann
|
|
 | | From: | Kent Paul Dolan | | Subject: | Re: Matlab vs. CPLEX | | Date: | Mon, 17 Jan 2005 22:00:07 +0000 (UTC) |
|
|
 | "hansm" wrote:
> Finally, you can use NEOS > http://neos.mcs.anll.gov/
You meant:
http://neos.mcs.anl.gov
[My daughter used to run the supercomputer site there, including NEOS, is how I know.]
xanthian.
-- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
|
|
 | | From: | tiger | | Subject: | Re: Matlab vs. CPLEX | | Date: | 20 Jan 2005 08:58:48 -0800 |
|
|
 | HI Hans, Thank you so much for provide me this information. I visited that website of NEOS and found it is really great ! The GLPK also provides Matlab interface. I think I will try to learn how to use it and use it for my dissertation. I really really appreciate your help.
|
|
 | | From: | edadk | | Subject: | Re: Matlab vs. CPLEX | | Date: | 17 Jan 2005 02:27:38 -0800 |
|
|
 | tiger wrote: > I am new in the OR area. I have to deal with a linear programming > problem. The researchers in my field used CPLEX to solve the problem. I > wonder if I can use MATLAB to do the same thing ( I already installed > the operation research toolbox) because I cannot access to the CPLEX. > Can anyone help me to see if I can still use the MATLAB to solve the > linear programming problem? Are there any significant difference > between MATLAB and CPLEX in terms of their limitations or other stuff? > Thanks.
I think MATLAB is excellent to build prototype models and exepriment. Things are not as efficient as if you code your application in C but in many cases MATLAB is way good enough. [A modelling language like AMPL is sometimes better than MATLAB.]
This assumes you call a good optimizer from MATLAB of course. I like the MOSEK optimization toolbox. But I am biased because I developed it. You can try MOSEK for free vy downloading it from http://www.mosek.com/download.html
Erling
|
|
 | | From: | tiger | | Subject: | Re: Matlab vs. CPLEX | | Date: | 18 Jan 2005 13:45:12 -0800 |
|
|
 | Hi, My problem is 0/1(binary) linear programming. Can I use MATLAB or NEOS like you said? Thank you very much.
|
|
 | | From: | hansm | | Subject: | Re: Matlab vs. CPLEX | | Date: | 18 Jan 2005 16:41:42 -0800 |
|
|
 | Hi, good that you know specify your problem more. The 0/1 case cannot really be solved any more easily than the pure integer case and most software even allows mixed integer (also real variables). You can use, for example, GLPK with its GLPKmex Matlab interface. On NEOS you can use in principle all solvers in the Mixed integer LP section. Note that NEOS-GLPK also allows Matlab input.
Hans Mittelmann
|
|