Models Additional linear programming test problems: lp prob: Difference between revisions
From TomWiki
Jump to navigationJump to search
(Created page with "{{Part Of Manual|title=TOMLAB Models|link=TOMLAB Models}} Download [http://tomopt.com/docs/lp_prob.zip lp prob.zip] and extract to a folder, for example <tt>tomlab/tes...") |
(No difference)
|
Latest revision as of 09:35, 12 August 2011
This page is part of TOMLAB Models. See TOMLAB Models. |
Download lp prob.zip and extract to a folder, for example tomlab/testprob2/lp_prob.
The folder will then contain about 90 test problems, of which one is cre-c.mps. To solve this problem with TOMLAB enter the following in Matlab:
[F, c, A, b_L, b_U, x_L, x_U, IntVars] = cpx2mat('cre-c.mps',0); Prob = lpAssign(c, A, b_L, b_U, x_L, x_U, [], 'Additional lp_prob: cre-c'); Result = tomRun('cplex', Prob, 1);
The problems in this zip-file have up to almost 3700 variables and more than 3000 constraints.