summaryrefslogtreecommitdiff
path: root/tests/general_tests/symphony/symphony_infeasible.sce
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general_tests/symphony/symphony_infeasible.sce')
-rw-r--r--tests/general_tests/symphony/symphony_infeasible.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/general_tests/symphony/symphony_infeasible.sce b/tests/general_tests/symphony/symphony_infeasible.sce
new file mode 100644
index 0000000..f48446e
--- /dev/null
+++ b/tests/general_tests/symphony/symphony_infeasible.sce
@@ -0,0 +1,19 @@
+// 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]
+
+// Output
+//Problem loaded into environment.
+//Note: There is no limit on time.
+//This problem is infeasible.
+
+[xopt, fopt, exitflag, output] = symphony(nbVar,nbCon,objCoef,isInt,LB,UB,conMatrix,conLB,conUB);
+
+