iocol2 - p maximize Net_Profit; m subject to Balance {i in...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
set MAT; # materials set ACT; # activities s param io {MAT,ACT}; # input-output coefficients p set MATF within MAT; # finished materials s param revenue {MATF} >= 0; p param sell_min {MATF} >= 0; param sell_max {i in MATF} >= sell_min[i]; p param cost {ACT} >= 0; param act_min {ACT} >= 0; param act_max {j in ACT} >= act_min[j];
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: p maximize Net_Profit; m subject to Balance {i in MAT}: to_come = 0; s var Run {j in ACT} >= act_min[j], <= act_max[j], obj Net_Profit -cost[j], coeff {i in MAT} Balance[i] io[i,j]; var Sell {i in MATF} >= sell_min[i], <= sell_max[i], obj Net_Profit revenue[i], coeff Balance[i] -1;...
View Full Document

This note was uploaded on 04/01/2011 for the course CO 370 taught by Professor Henry during the Winter '11 term at Waterloo.

Ask a homework question - tutors are online