Unformatted text preview: ‐ linearity when you enter in the model, however, the solver, Gurobi 4.0 will only solve the QP for quadratic objective functions, and will not solve for quadratic constraints. 2. KKT Conditions: Solve Problem 6 in Chapter 11.9 of the textbook: Confirm with the AMPL solution and find the λ ’s and μ ’s. var x1 >= 0; var x2 >= 0; var x3 >= 0; minimize ObjFunc: 0.2*x1^2 + 0.08*x2^2 + 0.18*x3^2 + 0.1*x1*x2 + 0.04*x1*x3 + 0.06*x2*x3; subject to Const1: 0.14*x1 + 0.11*x2 + 0.1*x3 >= 120; subject to Const2: x1 + x2 + x3 <= 1000;...
View Full Document
- Spring '11
- Gurobi, quadratic objective functions, Industrial Engineering MIE376, Mathematical Programming Winter, University of Toronto Department of Mechanical and Industrial Engineering, QP problems. Note