Skip to content

Commit

Permalink
MP2NL: in tests, move options to the subsolver #237
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbelov committed Oct 30, 2024
1 parent 4994538 commit 00d542b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 11 deletions.
17 changes: 11 additions & 6 deletions test/end2end/cases/categorized/fast/qp/modellist.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name" : "ellipse_max_02",
"objective" : 0.5312499452945747,
"tags" : ["quadratic"],
"coment_options": "Not all constraints are cones, Mosek needs QP",
"comment_options": "Not all constraints are cones, Mosek needs QP",
"options": {
"mosek_options": "cvt:socp=0"
}
Expand All @@ -23,7 +23,8 @@
"objective" : -3.16227757,
"tags" : ["quadratic", "qcpdual"],
"options": {
"ANYSOLVER_options": "qcpdual=1"
"ANYSOLVER_options": "qcpdual=1",
"mp2nl_options": "solver_options='qcpdual=1'"
},
"values": {
"_con[1]": -1.5807796451888148
Expand All @@ -34,7 +35,8 @@
"objective" : 1.4928017587112605,
"tags" : ["quadratic", "qcpdual"],
"options": {
"ANYSOLVER_options": "qcpdual=1"
"ANYSOLVER_options": "qcpdual=1",
"mp2nl_options": "solver_options='qcpdual=1'"
},
"values": {
"_con[1]": 0.26111523051780217,
Expand All @@ -46,7 +48,8 @@
"objective" : 0.5312499452945747,
"tags" : ["quadratic", "qcpdual"],
"options": {
"ANYSOLVER_options": "qcpdual=1"
"ANYSOLVER_options": "qcpdual=1",
"mp2nl_options": "solver_options='qcpdual=1'"
},
"values": {
"_con[3]": 1.000067023601818
Expand All @@ -57,7 +60,8 @@
"objective" : 0.8,
"tags" : ["quadraticnonconvex", "mipstart"],
"options": {
"ANYSOLVER_options": "debug=1"
"ANYSOLVER_options": "debug=1",
"mp2nl_options": "solver_options='debug=1'"
},
"values": {
"_var[1].test_ini_mip": 0.5,
Expand All @@ -69,7 +73,8 @@
"objective" : 3.6,
"tags" : ["quadraticnonconvex", "mipstart"],
"options": {
"ANYSOLVER_options": "debug=1"
"ANYSOLVER_options": "debug=1",
"mp2nl_options": "solver_options='debug=1'"
},
"values": {
"_var[1].test_ini_mip": 0.5,
Expand Down
20 changes: 16 additions & 4 deletions test/end2end/cases/categorized/fast/suf_common/modellist.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@
{
"name" : "dietu_stt sensitivity=1",
"objective" : 74.273820,
"options": { "ANYSOLVER_options": "solnsens=1" },
"options": {
"ANYSOLVER_options": "solnsens=1",
"mp2nl_options": "solver_options='solnsens=1'"
},
"tags" : ["linear", "continuous", "sens"],
"values": {
"Buy['BEEF'].senslbhi": 7.129251700680272,
Expand All @@ -63,7 +66,10 @@
{
"name" : "diet_max solnsens=1",
"files" : ["diet_max.mod", "diet.dat"],
"options": { "ANYSOLVER_options": "solnsens=1" },
"options": {
"ANYSOLVER_options": "solnsens=1",
"mp2nl_options": "solver_options='solnsens=1'"
},
"tags" : ["linear", "continuous", "sens"],
"objective" : 1128.642,
"values": {
Expand All @@ -82,7 +88,10 @@
{
"name" : "diet_nonrng_max solnsens=1",
"files" : ["diet_nonrng_max.mod", "diet.dat"],
"options": { "ANYSOLVER_options": "solnsens=1" },
"options": {
"ANYSOLVER_options": "solnsens=1",
"mp2nl_options": "solver_options='solnsens=1'"
},
"tags" : ["linear", "continuous", "sens", "sstatus"],
"objective" : 1128.642,
"comment": "Diet_Min{} constraints are converted to <= by AMPL",
Expand Down Expand Up @@ -144,7 +153,10 @@
{
"name": "mip_lazy_01",
"tags": [ "linear", "integer", "lazy_user_cuts" ],
"options": { "ANYSOLVER_options": "debug=1" },
"options": {
"ANYSOLVER_options": "debug=1",
"mp2nl_options": "debug=1 solver_options='debug=1'"
},
"objective": 1,
"values": {
"Initial.test_quad_constr_lazy": 2
Expand Down
5 changes: 4 additions & 1 deletion test/end2end/cases/categorized/fast/suf_std/modellist.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
"name" : "dietu_stt test sstatus IN",
"objective" : 74.273820,
"tags" : ["linear", "continuous", "sstatus"],
"options": { "ANYSOLVER_options": "debug=1" },
"options": {
"ANYSOLVER_options": "debug=1",
"mp2nl_options": "solver_options='debug=1'"
},
"values": {
"Buy['BEEF'].test_sstatus": 1,
"Buy['MTL'].test_sstatus": 4,
Expand Down

0 comments on commit 00d542b

Please sign in to comment.