Models Additional quadratic programming test problems: qp prob

From TomWiki
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.