Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Q=[4 3.1205 17.28 1; 4 6.241 17.28 1; 4 3.1205 34.56 1; 0 0 0 1];
- a=[8; -14; 2-; 0];
- Aeq = [ 1 0 4 6; 7 1 -3 0; 0 1 2 -0.5];
- beq = [ 2; 1; 0];
- lb = [0; 0; 0; 0];
- [x, fval, exitflag] = quadprog(2*Q, a, [], [], Aeq, beq, lb, []);
Add Comment
Please, Sign In to add comment