liu heng
- Total activity 33
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 13
Posts
Recent activity by liu heng-
What is the difference between MIPSOL_OBJ and MIPSOL_OBJBST
AnsweredMy understanding is that, MIPSOL_OBJ (Objective value for new solution) is the currently found objective, and MIPSOL_OBJBST is the best obj before this currently found incumbent. Thus MILSOL_OBJ p...
-
How to record the time whenever gurobi find a new incumbent(best feasible solution so far)
AnsweredI want to record the primal bound along with the time spent, in order to plot the figure.
-
About PoolSearchMode
AnsweredHow can I collect a rich set of feasible solutions (both high-quality and bad ones). It seems like PoolSearchMode=2 does not collect bad solutions while PoolSearchMode=1 does not collect the good o...
-
Does modification on presolved model affect original model?
AnsweredSuppose m is the original model and p = m.presolve() If I do some modifications on p (e.g. optimize or modify variable bounds), will the original model be modified?
-
How to stop presolve from removing variables
AnsweredAssume the original model m has 100 variables, and I fix 30 of the 100 variables by setting v.UB=1 , v.LB=1. I want to get the corresponding model with 70 variables. However, if I call p=m.presolve...
-
How to compute the objective and feasibility of a manually given solution?
AnsweredSuppose "sol" is a list that consists of the value of each variable.(sol is given by user) How to compute the objective and feasiblity of sol
-
How to check the feasibility of a certain solution
AnsweredSuppose I manually give a solution by setting v.Start = xxx. Then I call m.optimize() and the log only shows that "Loaded user MIP start with objective xxx". Does it means the solution is feasible?
-
How do Precrush and AggFill/Aggregate affect variables
AnsweredHow do Precrush and AggFill/Aggregate affect variables?(introduce new vars or remove vars)
-
how to stay at the presolved state?
AnsweredIn m.optimize(), a presolved model p is generated and solved, then the solution of p is automatically mapped back to m. Can I stay at the state where p is generated but not solved? I want to try s...
-
In python api, is model.copy() deep copy or not
AnsweredSuppose model_1 is read from file. model_2 = model_1.copy() if i modify model_2(fix variables or add constraints), will model_1 still keep the original form?