expanding a constraint

7 views
Skip to first unread message

hosein.h...@gmail.com

unread,
Apr 22, 2018, 9:47:45 AM4/22/18
to AMPL Modeling Language
hello,
I use the command "expand" in my model. AMPL gives the output below:

......
expand cons11;
subject to cons11[1,2,1]:  # Dropped.
3000*u[1,1,1] - 3000*u[1,2,1] + Csu[1,2,1] >= 0;
.......

what does  "# Dropped." mean here? is that a bug ?

AMPL Google Group

unread,
Apr 23, 2018, 10:26:37 AM4/23/18
to Ampl Modeling Language
A constraint will be reported as Dropped if you explicitly dropped it from the model by giving a "drop" command. Also a constraint will be reported as Dropped if you used "problem" statements to define named problems, and the constraint is not in the current problem.

It you are not using any "drop" or "problem" statements, then please reply to am...@googlegroups.com with some files that we can use to reproduce the situation that you are seeing.

--
Robert Fourer
am...@googlegroups.com
{#HS:566357297-5857#}
--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at https://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.



Reply all
Reply to author
Forward
0 new messages