User Tools

Site Tools


optimization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
optimization [2020/06/07 16:30]
marijn.nijenhuis
optimization [2022/01/12 13:41] (current)
jan.dejong
Line 106: Line 106:
  
 %starting point %starting point
-x0 = [0.1 0.1 50e-3 0.2e-3]';+x0 = [0.1;  0.1;  50e-30.2e-3];
  
 %constraints %constraints
-= [diag([1 1 1 1])diag([--1 -1 -1])]; +b1 = [0.050.05; 25e-3; 0.1e-3];   % Lower bound (b1 < x) 
-= [0.2 0.2 75e-3 1e-3 0.05 0.05 25e-3 0.1e-3]';+b2 = [0.2;  0.2;  75e-31e-3  ];       % Upper bound (x < b2) 
 + 
 +A = [-eye(4); eye(4)]; 
 +b = [-b1;b2];
  
 %optimization %optimization
optimization.1591540249.txt.gz · Last modified: 2020/06/07 16:30 by marijn.nijenhuis