summaryrefslogtreecommitdiff
path: root/tests/general_tests/symphony/symphony_infeasible.sci
blob: 04fe76a8c4763ced8a492e7bb50006b3791807dc (plain)
1
2
3
4
5
6
7
8
9
10
11
// Infeasible problem
objCoef = -1 * [1 1]'
conMatrix = [-1 0; 0, -1; 1 1]
conLB = -1*[%inf %inf %inf ]
conUB = [-6 -6 11]
nbVar = 2;
nbCon = 3;
isInt = repmat(%f,1,nbVar)
LB = -1*[%inf %inf]
UB = [%inf %inf]
[xopt, fopt, exitflag, output] = symphony(nbVar,nbCon,objCoef,isInt,LB,UB,conMatrix,conLB,conUB);