AddGenConstrIndicator coefficients are high
Awaiting user inputIn MPS file I am seeing coefficients of e+05.
C55798(6) gen282 -1.1748062592941143e+05
C55798(6) gen283 -1.1748062592941143e+05
C55873(6) gen282 -3.5745765630245427e+04
C55873(6) gen283 -3.5745765630245427e+04
C55882(6) gen282 -2.3122216621734641e+05
C55882(6) gen283 -2.3122216621734641e+05
Coefficient statistics:
Matrix range [1e-03, 5e+03]
Objective range [1e+00, 1e+01]
Bounds range [1e-04, 1e+04]
RHS range [1e+00, 5e+03]
GenCon rhs range [3e-01, 4e+03]
GenCon coe range [1e-01, 8e+05]
I have couple of questions
1) Is there a way to reduce this GenCon coe range ?
2) From MPS file how to figure out which constraint is exactly, since here the constraint are numbered and in lp file we can't see the GenCon coefficients. So how to figure out based on MPS file which constraint is this?
2) From MPS file how to figure out which constraint is exactly, since here the constraint are numbered and in lp file we can't see the GenCon coefficients. So how to figure out based on MPS file which constraint is this?
0
-
Official comment
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
In the MPS file you should see a GENCONS section, see MPS format. This should allow you to figure out what the general constraint is.
It is similar in an LP file, see LP format,e.g.,
GC0: C1 = 1 -> 10000 C0 = 3
Does this help?
You could also share the MPS file or the LP file for easier exchange. Note that uploading files in the Community Forum is not possible but we discuss an alternative in Posting to the Community Forum.
Best regards,
Jaromił1
Post is closed for comments.
Comments
2 comments