zichun ji
- Total activity 11
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 3
Posts
Recent activity by zichun ji-
I add constraint with '>=' but in the model it is <= 0
Awaiting user inputI add some linear constr to the gurobi LP model as follow: """ constraint (2)"""for t in range(1, data.round_num + 1):for p in range(1, data.parklot_num + 1):con_name_2 = f'cons_(2)_{t}_{p}'self.co...
-
How can I get the value of sub-optimal solutions in solpool by var name?
AnsweredI can get the value of optimal solution by m.getVarByName(), I wonder how can I do this to other solutions in the solution pool? only found .Xn to get all the value, without var name information.
-
How to store multiple solutions with the same objVal in my SolPool?
AnsweredI have set the solution params according to online tutorial as follow. model_handler.build_sp(data)model_handler.SP.Params.PoolSolutions = 30model_handler.SP.Params.PoolSearchMode = 2model_handler....