≈ the.bay.news

Tinkering with values of variables in a solved JuMP model

Julia Programming Language
Tinkering with values of variables in a solved JuMP model
I’d like to solve a JuMP model, use primal_feasibility_report to check which constraints are violated, tweak the variable values until the constraints are all strictly respected, and then compute the new objective value with the new variables. Is it possible to do so? I can pass a Dict to primal_feasiblity_report with the new values. That’s a bit inconvenient as it seems I have to do scalar by scalar, I can’t pass a vector or a matrix at once, but it works. I see no way to recompute the objecti...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.