CO250 Lecture Notes - Piecewise Linear Function, Toner, Mathematical Notation

127 views4 pages

Document Summary

Due: wednesday january 23 at the beginning of class: this question will test your ability to understand ampl code. (a) the following is the . mod le for a particular ampl model. Write out the general structure of the linear program using standard mathematical notation. # a business assigns workers to a specific shift during the day. # in a work cycle, workers get one day off. set day; set shift; # declares a set of shifts param minworkers {shift, day} >=0; # rows are indexed by shifts and columns are indexed by days. # minworkers[s,d] = min no. of workers the business needs. # during shift s on day d var x {shift,day} >=0; # where x[s,d] denotes the no. of workers. Write out the com- plete linear program using these values. (write out all variables and constraints. ) set day := mon, tue, wed, thu; set shift := morning, afternoon; param minworkers:

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents