i working on modelling mip in gurobi (working in java). problem requires lot of computational time , don't want waste more 100s on each problem. however, when time limit reached, want gurobi print best feasable solution has found within these 100s. tried using attribute objbound, gives me lower objective when let gurobi find optimale solution (my problem minimization problem). i'm guessing here objbound gives lower bound, while i'm trying find upper bound. there way can accomplish this?
if looking feasible solution (not optimal, feasbile), set mipfocus parameter 1. tells gurobi concentrate on finding feasible solution rather optimal solution.
model.setparam('mipfocus', 1) model.optimize()
Comments
Post a Comment