Multiple objectives and compute server
回答済みHi
We noticed that mutliple objectives environment parameters are not reflected in the .mps nor the .prm files, for example using your documentation, if we do :
env0 = model.getMultiobjEnv(0) env1 = model.getMultiobjEnv(1) env0.setParam('TimeLimit', 100) env1.setParam('TimeLimit', 10)
model.write("input.mps")
model.write("input.prm")
=> Nor the .mps or .prm file contains the env0 or env1 time limits. It's maybe no problem for a local execution but we were wondering if the compute server is aware of this (we do not using it currently so we can't make any tests)
As well, we will be happy to know your minds about having these parameters reflected in .prm file.
As well, we will be happy to know your minds about having these parameters reflected in .prm file.
Thanks a lot for your support.
0
-
Hi Julien,
You can write out the parameter file for each environment separately using the Env.writeParams() function. Here is an example,
env0.writeParams("params_from_env0.prm")
env1.writeParams("params_from_env1.prm")Happy to discuss this topic further.
Also, I noticed that you are one of our commercial customers. You can reach out directly to the Gurobi Expert Team directly as part of your support. To reach us, you can create a help request at support.gurobi.com. For more details about the support that Gurobi offers, please see Gurobi Experts Technical Advisory & Support Team.
0 -
Hi,
Thanks for your reply, i missed this method.
I tested and i can write and read params which is what i was seeking for.0 -
Great to hear it helped!
0
サインインしてコメントを残してください。
コメント
3件のコメント