source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/dev/regress_bmibnb_gamsgpkl.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 389 bytes
Line 
1function fail = regress_bmibnb_gamsrobot(ops)
2
3x1 = sdpvar(1,1);
4x2 = sdpvar(1,1);
5t = sdpvar(1,1);
6
7F = set([x1;x2]>0);
8F = F + set(- x1 + x2 < 1);
9F = F + set(x1 - x2 < 1);
10F = F + set(- x1 + 2*x2 < 3);
11F = F + set(2*x1 - x2 < 3);
12obj = (2*x1 - 2*x1*x1 + 2*x1*x2 + 3*x2 - 2*x2*x2);
13F = F + set(obj<t);
14sol = solvesdp(F,obj,ops);
15
16fail=getfail(sol.problem,double(obj),-3,checkset(F));
17   
Note: See TracBrowser for help on using the repository browser.