{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Quasi-LinearexampleforParetoEfficiency

# Quasi-LinearexampleforParetoEfficiency - Initial Values...

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

Quasi-Linear Example for Pareto Efficiency (A) I. Input \$Ontext Quasi-linear Example for 7130 \$Offtext Variables x1c, x2c, xj, y1, y2, lam1, lam2, lam3; Equations foc1, foc2, foc3, foc4, foc5, foc6, foc7, foc8; foc1 .. 1/x1c =e= lam3; foc2 .. 1 =e= lam2; foc3 .. -(2*lam1)/x2c =e= lam3; foc4 .. -lam1 =e= lam2; foc5 .. 4*lam2*xj =e= lam3; foc6 .. 2*log10(x2c)+y2 =e= 5.7; foc7 .. 18 =e= y1+y2+1.5*(2*(xj**2)+1); foc8 .. x1c+x2c =e= 1.5*xj;
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Initial Values x1c.l=0.5; x2c.l=0.5; xj.l=0.5; y1.l=8; y2.l=7; lam1.l=-1; lam2.l=1; lam3.l=2; model test /foc1.x1c, foc2.lam2, foc3.x2c, foc4.lam1, foc5.lam3, foc6.y2, foc7.y1, foc8.xj/; OPTION MCP = path; solve test using mcp; Display x1c.l, x2c.l, y1.l, y2.l, xj.l, lam1.l, lam2.l, lam3.l; II. Output x1c = 0.354 x2c = 0.707 y1 = 9.000 y2 = 6.000 xj = 0.707 lam1 = -1.000 lam2 = 1.000 lam3 = 2.828...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online