ling06_Obj_Sensitivity - @WRITE PCDoor Doors Windows Total...

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

View Full Document Right Arrow Icon
! Parametric or sensitivity analysis of the RHS of the Wyndor model; SUBMODEL Wyndor: MAX = TotProf; [Profit] TotProf = PCDoor*X1 + 5*X2; ! Production time; [Plant1] X1 <= 4; [Plant2] 2*X2 <= 12; [Plant3] 3*X1 + 2*X2 <= 18; ENDSUBMODEL CALC: ! Do parametric analysis the Profitability of the Doors product; @SET('TERSEO',2); ! Turn off default output;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: @WRITE( ' PCDoor Doors Windows Total Profit', @NEWLINE(1)); PCDoor = 1; @WHILE( PCDoor #LE# 10: @SOLVE( Wyndor); @WRITE(' ',@FORMAT(PCDoor,"4.0f"),' ', @FORMAT(X1,"5.2f"), ' ',@FORMAT(X2,"5.2f"), ' ', @FORMAT(TotProf,"8.2f"), @NEWLINE(1)); PCDoor = PCDoor + 1; ); ENDCALC#...
View Full Document

This note was uploaded on 10/07/2011 for the course 101 101 taught by Professor Xyz during the Fall '97 term at Ringling.

Ask a homework question - tutors are online