source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/dev/regress_bmibnb_sahinidis.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 244 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function fail = regress_bmibnb_gamsrobot(ops) |
2 | ||
3 | x1 = sdpvar(1,1); | |
4 | x2 = sdpvar(1,1); | |
5 | F = set(0 < x1 < 6)+set(0 < x2 < 4) + set(x1*x2 < 4); | |
6 | ||
7 | obj = -x1-x2; | |
8 | ||
9 | sol = solvesdp(F,obj,ops); | |
10 | ||
11 | fail=getfail(sol.problem,double(obj),-6.6666,checkset(F)); | |
12 |
Note: See TracBrowser
for help on using the repository browser.