We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42f3242 commit d66a068Copy full SHA for d66a068
src/optimizer_interface.jl
@@ -383,9 +383,8 @@ function JuMP.optimize!(node::OptiNode; kwargs...)
383
end
384
385
function JuMP.relax_integrality(graph::OptiGraph)
386
- for node in all_nodes(graph)
387
- JuMP.relax_integrality(jump_model(node))
388
- end
+ # Returns vector of functions to revert the relaxation. Call via map(x->x()).
+ return [JuMP.relax_integrality(jump_model(node)) for node in all_nodes(graph)]
389
390
391
function set_node_primals(
0 commit comments