Coding A Set and Double Summation

46 views
Skip to first unread message

Feras Matar

unread,
Oct 8, 2015, 5:59:15 AM10/8/15
to AMPL Modeling Language



Please how to code the following set in AMPL


and the following double summatio




Feras Matar

unread,
Oct 8, 2015, 6:03:15 AM10/8/15
to am...@googlegroups.com
Please how to code the following set in AMPL


and the following double summation

Feras Matar

unread,
Oct 8, 2015, 6:11:42 AM10/8/15
to AMPL Modeling Language
I forget to mention one thing, for each nurse (i), it has only either day(D) or night(N) or Both(B)

So, very nurse has only one of these three (Di,Ni,Bi)

Robert Fourer

unread,
Oct 8, 2015, 10:19:29 AM10/8/15
to am...@googlegroups.com

This forum is not appropriate for requesting AMPL formulations of problems copied from printed materials.  If you attempt to write your problem in AMPL and you get stuck on a specific question (like, "Why is there a syntax error on line 3?") then this forum may be able to help you with your question.  However, if the problem was assigned in a course that you are taking, then you should consider asking for help from your school's staff or from other students, since we cannot guarantee a fast response to questions posted here.

Bob Fourer
am...@googlegroups.com

     

--
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 http://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages