Solve standard continuous relaxation of model in v0.19-alpha

JuMP (up to 0.18.4) allowed you to pass the keyword relaxation=True to solve the standard relaxation of a model (for example, onw with integer constraints).

Is it possible to do this in 0.19-alpha using the optimize! function? (Will this be supported some time in the final 0.19 release if it isn’t currently?)

There’s no one-liner for this anymore. I opened an issue to track the feature request: However, I don’t consider it blocking for the 0.19 release.

You can achieve the same result in a generic way by querying all variables from the model ( and manually setting and unsetting integrality constraints (i.e., is_integer, set_integer, unset_integer, is_binary, set_binary, unset_binary around