Open dirkschumacher opened 2 years ago
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 (!)
Keep up the good work Dirk :)
With the new
MIPModel
this is now possible. It requires some changes inompr.roi
and additional classes and operators.