## ams_version=1.0 Model Main_nvs03 { Variable i1 { Range: integer; } Variable i2 { Range: integer; } Variable objvar; Constraint e1 { Definition: -0.1*sqr(i1) + i2 >= 0; } Constraint e2 { Definition: - 0.333333333333333*i1 - i2 >= -4.5; } Constraint e3 { Definition: -(sqr((-8) + i1) + sqr((-2) + i2)) + objvar = 0; } Procedure MainInitialization { Body: { i1.upper := 200; i2.upper := 200; i1.l := 100; i2.l := 100; } } MathematicalProgram nvs03 { Objective: objvar; Direction: minimize; Constraints: AllConstraints; Variables: AllVariables; Type: MINLP; } ElementParameter myGMP { Range: AllGeneratedMathematicalPrograms; } Procedure MainExecution { Body: { solve nvs03; } } Procedure MainTermination { Body: { return 1; } } }