Model ropes ! Ropes problem - integer variables Variables intx[1:3] = 0, >=0 inty[1:4] = 0, >= 0 A = 0 B = 0 p = 0 End Variables Equations maximize p p <= 0.5 * A p <= B A = 2*intx[1] + 3*intx[3]+4*inty[2]+3*inty[3]+inty[4] B = intx[1]+ 2*intx[2] + 3*inty[1] + inty[3] + 2*inty[4] 400 >= intx[1]+intx[2]+intx[3] 100 >= inty[1]+inty[2]+inty[3]+inty[4] End Equations End Model