Skip to content

Commit

Permalink
MP2NL: avoid mp_options #237
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbelov committed Oct 28, 2024
1 parent 093b191 commit 245c898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/mp/flat/nl_expr/model_api_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ class BasicExprModelAPI
is_init_expr_retrieved_[i_expr] = true; // is being explicified
if (!is_init_expr_stored_[i_expr]) {
is_init_expr_stored_[i_expr] = true;
get_init_expr_(i_expr, &init_expr_stored_[i_expr]);
get_init_expr_(i_expr, &init_expr_stored_[i_expr]);
}
return init_expr_stored_[i_expr]; // ...............
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"name" : "dietobj objno=4",
"tags" : ["linear", "continuous"],
"files" : ["dietobj.mod", "dietobj.dat"],
"options": { "mp_options": "objno=4" },
"options": { "ANYSOLVER_options": "objno=4" },
"values": { "total_number": 3.092537313e+01 }
},
{
Expand Down

0 comments on commit 245c898

Please sign in to comment.