I want to define a parameter so that the model will change if I set a different value for the parameter. The following is an example, while the real problem is much more complicated.
model = Model()
@variable(model, x1 >= 0)
@variable(model, x2 >= 0)
@constraint(model, a*x + y>= 1.33)
@constraint(model, x + y <= a )
I want to solve a bunch of problems for different values of a. I don’t like to declare a as fixed variable because it will treat this LP as NLP.