## ams_version=1.0 Model Main_ex6_2_9 { Variable objvar; Variable x2; Variable x3; Variable x4; Variable x5; Constraint e1 { Definition: { -(log(4.8274*x2 + 0.92*x4)*(31.4830434782609*x2 + 6*x4) - 1.36551138119385 *x2 + 2.8555953099828*x4 + 11.5030434782609*log(x2/(4.8274*x2 + 0.92*x4))* x2 + 20.98*log(x2/(4.196*x2 + 1.4*x4))*x2 + 7*log(x4/(4.196*x2 + 1.4*x4))* x4 + log(4.196*x2 + 1.4*x4)*(4.196*x2 + 1.4*x4) + 1.62*log(x2/( 7.52678200680961*x2 + 0.443737968424621*x4))*x2 + 0.848*log(x2/( 7.52678200680961*x2 + 0.443737968424621*x4))*x2 + 1.728*log(x2/( 1.82245052351472*x2 + 1.4300083598626*x4))*x2 + 1.4*log(x4/( 0.504772348000588*x2 + 1.4*x4))*x4 + log(4.8274*x3 + 0.92*x5)*( 31.4830434782609*x3 + 6*x5) - 1.36551138119385*x3 + 2.8555953099828*x5 + 11.5030434782609*log(x3/(4.8274*x3 + 0.92*x5))*x3 + 20.98*log(x3/(4.196*x3 + 1.4*x5))*x3 + 7*log(x5/(4.196*x3 + 1.4*x5))*x5 + log(4.196*x3 + 1.4*x5) *(4.196*x3 + 1.4*x5) + 1.62*log(x3/(7.52678200680961*x3 + 0.443737968424621*x5))*x3 + 0.848*log(x3/(7.52678200680961*x3 + 0.443737968424621*x5))*x3 + 1.728*log(x3/(1.82245052351472*x3 + 1.4300083598626*x5))*x3 + 1.4*log(x5/(0.504772348000588*x3 + 1.4*x5))*x5 - 35.6790434782609*log(x2)*x2 - 7.4*log(x4)*x4 - 35.6790434782609*log(x3) *x3 - 7.4*log(x5)*x5) + objvar = 0 } } Constraint e2 { Definition: x2 + x3 = 0.5; } Constraint e3 { Definition: x4 + x5 = 0.5; } Procedure MainInitialization { Body: { x2.lower := 1E-7; x2.upper := 0.5; x3.lower := 1E-7; x3.upper := 0.5; x4.lower := 1E-7; x4.upper := 0.5; x5.lower := 1E-7; x5.upper := 0.5; x2.l := 0.4998; x3.l := 0.0002; x4.l := 0.0451; x5.l := 0.4549; } } MathematicalProgram ex6_2_9 { Objective: objvar; Direction: minimize; Constraints: AllConstraints; Variables: AllVariables; Type: NLP; } Procedure MainExecution { Body: { solve ex6_2_9; } } Procedure MainTermination { Body: { return 1; } } }