Difference between revisions of "Three Tank multimode problem"
From mintOC
ClemensZeile (Talk | contribs) (Created page with "{{Dimensions |nd = 1 |nx = 3 |nw = 3 |nre = 2 }}<!-- Do not insert line break here or Dimensions Box moves up in the layout... -->This site describ...") |
ClemensZeile (Talk | contribs) (→Reference Solutions) |
||
Line 33: | Line 33: | ||
== Reference Solutions == | == Reference Solutions == | ||
− | If the problem is relaxed, i.e., we demand that <math>w(t)</math> be in the continuous interval <math>[0, 1]</math> instead of the binary choice <math>\{0,1\}</math>, the optimal solution can be determined by means of direct optimal control. | + | If the problem is relaxed, i.e., we demand that <math>w(t)</math> be in the continuous interval <math>[0, 1]</math> instead of the binary choice <math>\{0,1\}</math>, the optimal solution can be determined by means of direct optimal control and the CIA decomposition. We denote the relaxed control values with <math>a(t)\in[0, 1]</math>. |
− | The optimal objective value of the relaxed problem with <math> n_t= | + | The optimal objective value of the relaxed problem with <math> n_t=100, \, n_u=100 </math> is <math>8.775979</math>. The objective value of the binary controls obtained by Combinatorial Integral Approimation (CIA) is <math>8.789487</math>. |
<gallery caption="Reference solution plots" widths="180px" heights="140px" perrow="2"> | <gallery caption="Reference solution plots" widths="180px" heights="140px" perrow="2"> | ||
− | Image: | + | Image:three_tank_relaxed_solution.png| Optimal relaxed controls and states determined by an direct approach with python 3.6 and CasADi, applied Multiple Shooting, 4th order Runge Kutta scheme and <math>n_u=100</math>. |
− | Image: | + | Image:three_tank_binary_solution.png| According optimal binary controls and states determined by the direct approach. The relaxed controls were approximated by Combinatorial Integral Approximation. |
+ | Image:three_tank_rounding_solution.png| Binary and relaxed control values as part of the Combinatorial Integral Approximation problem | ||
</gallery> | </gallery> | ||
Revision as of 10:12, 14 March 2020
Three Tank multimode problem | |
---|---|
State dimension: | 1 |
Differential states: | 3 |
Discrete control functions: | 3 |
Interior point equalities: | 2 |
This site describes a Double tank problem variant with three binary controls instead of only one control and three tanks, i.e., three differential states representing different compartments.
Mathematical formulation
The mixed-integer optimal control problem is given by
Parameters
These fixed values are used within the model.
Reference Solutions
If the problem is relaxed, i.e., we demand that be in the continuous interval instead of the binary choice , the optimal solution can be determined by means of direct optimal control and the CIA decomposition. We denote the relaxed control values with .
The optimal objective value of the relaxed problem with is . The objective value of the binary controls obtained by Combinatorial Integral Approimation (CIA) is .