You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a model has already been established, and during the solution process it is found that the model is solvable but the objective function is unbounded, what methods can be used to obtain its extreme rays? And how to calculate the values of the decision variables corresponding to the extreme rays?
My code is as follows:
using JuMP
using Gurobi
model =Model(Gurobi.Optimizer)
set_optimizer_attribute(model, "OutputFlag", 0)
@variable(model, x[1:4]>=0)
@variable(model, y[1:5]>=0)
@constraint(model, [i in1:4,j in1:5], i*x[i]+j*y[j]>=i*j)
@objective(model, Max, sum(x[i] for i in1:4)+sum(y[j] for j in1:5 ) )
optimize!(model)
Of course, you can also give a simple example of how to get it。
If there is no direct method to obtain the extreme rays, please also give me some feedback, thank you
The text was updated successfully, but these errors were encountered:
If a model has already been established, and during the solution process it is found that the model is solvable but the objective function is unbounded, what methods can be used to obtain its extreme rays? And how to calculate the values of the decision variables corresponding to the extreme rays?
My code is as follows:
Of course, you can also give a simple example of how to get it。
If there is no direct method to obtain the extreme rays, please also give me some feedback, thank you
The text was updated successfully, but these errors were encountered: