Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clear; close all; clc;
- run s6p1a_template
- % your solution
- cvx_begin
- variables lambda(6) eta(7) nu(7);
- maximize(-eta'*d);
- subject to
- (c + lambda'*A - nu'*M + eta'*M) == 0;
- nu>=0;
- eta>=0;
- cvx_end
Add Comment
Please, Sign In to add comment