source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/dev/tests-mbg/bmibnb/bmibnb_sahinidis.m @ 37

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

Added original make3d

File size: 232 bytes
Line 
1function sahinidis
2
3
4x1 = sdpvar(1,1);
5x2 = sdpvar(1,1);
6F = set(0 < x1 < 6)+set(0 < x2 < 4) + set(x1*x2 < 4);
7
8obj = -x1-x2;
9
10sol = solvesdp(F,obj,sdpsettings('solver','bmibnb'))
11
12mbg_asserttolequal(double(obj),-6.66666666, 1e-6);
Note: See TracBrowser for help on using the repository browser.