Creating fixed model associated with a MIP model using Gurobi in JuMP

Hi, I am using JuMP and Gurobi solver to implement a mixed-integer linear program model and trying to access duals. I see [Model.fixed()](https://www.gurobi.com/documentation/9.5/refman/py_model_fixed.html) as a way to fix the model for Python for example. How to use this functionality in JuMP?

1 Like

There is no easy way to access this from JuMP. Instead, write a function that fixes the value of integer variables. See:

1 Like