You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is good news, especially now we have the NEOS plugin so can workaround problems installing Rcplex.
Are these changes in the development version, and do you plan to put it on CRAN soon?
Function "set_objective" (ompr v1.0.2) seems to have difficulty parsing a non-linear expression:
model = MIPModel()
model = add_variable(model, x, type="continuous")
model = set_objective(model, x*x, sense="min") # Quadratic expressions are not supported (ok)
model = set_objective(model, x^2, sense="min") # non-numeric argument to binary operator (!)
With the new
MIPModel
this is now possible. It requires some changes inompr.roi
and additional classes and operators.The text was updated successfully, but these errors were encountered: