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

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

Added original make3d

File size: 660 bytes
Line 
1function ex14_1_8
2
3yalmip('clear')
4
5sdpvar x1 x2 x3 objvar;
6
7F = set([]);
8
9F = F + set( - x3 + objvar == 0);
10
11F = F + set(  (0.0476666666666666 - 0.0649999999999999*x1)*exp(10*x1/(1 + 0.01*x1)) - x1      - x3 <= 0);
12
13F = F + set(  x1 - (0.0476666666666666 - 0.0649999999999999*x1)*exp(10*x1/(1 + 0.01*x1))      - x3 <= 0);
14
15F = F + set(  (0.143 + (-0.13*x1) - 0.195*x2)*exp(10*x2/(1 + 0.01*x2)) + x1 - 3*x2 - x3  <= 0);
16
17F = F + set(  (-(0.143 + (-0.13*x1) - 0.195*x2)*exp(10*x2/(1 + 0.01*x2))) - x1 + 3*x2 - x3 <= 0);
18
19F = F + set(-1 < [x1 x2 ] < 1);
20
21solvesdp(F,objvar,sdpsettings('solver','bmibnb','bmibnb.upper','fmincon','allownon',1,'bmibnb.maxiter',1))
Note: See TracBrowser for help on using the repository browser.