Models Additional quadratic programming test problems: qp prob

From TomWiki
Revision as of 09:43, 12 August 2011 by Elias (talk | contribs) (Created page with "{{Part Of Manual|title=TOMLAB Models|link=TOMLAB Models}} Download [http://tomopt.com/docs/qp_prob.zip qp_prob.zip] and extract to a folder, for example <tt>tomlab/tes...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Notice.png

This page is part of TOMLAB Models. See TOMLAB Models.

Download qp_prob.zip and extract to a folder, for example tomlab/testprob2/qp_prob.

The folder will then contain about 130 test problems, of which one is liswet1.qps. To solve this problem with TOMLAB enter the following in Matlab:

[F, c, A, b_L, b_U, x_L, x_U] = cpx2mat('liswet1.qps',0);
Prob = qpAssign(F, c, A, b_L, b_U, x_L, x_U, [], 'Additional qp-problem: liswet1.qps');
Result = tomRun('cplex', Prob, 1);

The problems in this zip-file have up to some 20000 variables and about 12000 constraints.