Display active inactive constraints with AMPL using CPLEX or Gurobi
469 views
Skip to first unread message
Vitali Pawelko
unread,
Sep 9, 2015, 7:40:28 AM9/9/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to am...@googlegroups.com
Dear Sirs and Madams,
I am using AMPL and the two solvers CPLEX and Gurobi.
I know AMPL transmits all model constraints to the solver.
I am solving MILP and am interested in the constraints the solver really
needs and uses for the LP relaxation.
Is it possible to display the amount of all active (binding) constraints
and all inactive constraints? Does CPLEX and Gurobi have a smart Branch
and Cut solver and use the model constraints als lazy constraints?
I discovered all possible forum posts and book of ampl, guobi, cplex and
could not find any answer yet.
Thank you in advance.
Robert Fourer
unread,
Sep 10, 2015, 10:01:42 AM9/10/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to am...@googlegroups.com
CPLEX and Gurobi have a feature for specifically labelling some constraints as lazy constraints; see the "lazy" option on these pages:
If you don't use this feature, however, then as far as I know these solvers use all of the constraints in the relaxations. Certainly there is no option to ask which constraints were not used.