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

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

Added original make3d

File size: 760 bytes
Line 
1function fail = regress_bmibnb_gamsrobot(ops)
2
3x1 = sdpvar(1,1);
4x2 = sdpvar(1,1);
5x3 = sdpvar(1,1);
6x4 = sdpvar(1,1);
7x5 = sdpvar(1,1);
8x6 = sdpvar(1,1);
9x7 = sdpvar(1,1);
10x8 = sdpvar(1,1);
11x = [x1;x2;x3;x4;x5;x6;x7;x8];
12F = set(-1<x<1);
13F = F + set( 0.004731*x1*x3 - 0.1238*x1 - 0.3578*x2*x3 - 0.001637*x2 - 0.9338*x4 + x7 == 0.3571);
14F = F + set(0.2238*x1*x3 + 0.2638*x1 + 0.7623*x2*x3 - 0.07745*x2 - 0.6734*x4 - x7 == 0.6022);
15F = F + set( x6*x8 + 0.3578*x1 + 0.004731*x2 == 0);
16F = F + set( - 0.7623*x1 + 0.2238*x2 == -0.3461);
17F = F + set(x1^2 + x2^2 == 1);
18F = F + set(x3^2 + x4^2 == 1);
19F = F + set(x5^2 + x6^2 == 1);
20F = F + set(x7^2 + x8^2 == 1);
21obj = sum(x);
22
23sol = solvesdp(F,obj,ops);
24
25
26fail=getfail(sol.problem,double(obj),-3.5295,checkset(F));
Note: See TracBrowser for help on using the repository browser.