Problem with the conditions in the subscripts

5 views
Skip to first unread message

andres felipe montaña gavalo

unread,
Jun 20, 2017, 1:16:10 PM6/20/17
to AMPL Modeling Language
How can I model in AMPL that i is different from j

Robert Fourer

unread,
Jun 21, 2017, 10:24:45 AM6/21/17
to am...@googlegroups.com
You can write either "i <> j" or "i != j" to express the condition that i is different from j.

Bob Fourer
am...@googleroups.com

=======
Reply all
Reply to author
Forward
0 new messages