m = Model()
@variable(m, x)
@constraint(m, myconstraint, x == 0)
We currently don’t have a mechanism to do this, although it has come up a few times in the past. We haven’t implemented it yet, as 1) we are not sure it will offer a performance benefit over just naively regenerating the model from scratch, and 2) it will require some nontrivial changes to the JuMP internals. The proposed work-around is to just regenerate the model from scratch, omitting the constraint you want to leave out. A PR adding this functionality would certainly be considered.
-Joey
--
You received this message because you are subscribed to the Google Groups "julia-opt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to julia-opt+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/julia-opt.
For more options, visit https://groups.google.com/d/optout.