Jump to content

Van der Pol Oscillator (binary variant): Difference between revisions

From mintOC
No edit summary
No edit summary
Line 35: Line 35:


<gallery caption="Reference solution plots" widths="180px" heights="140px" perrow="2">
<gallery caption="Reference solution plots" widths="180px" heights="140px" perrow="2">
  Image:VanderpolCIA_6000_100_1.pdf| Optimal relaxed controls and states determined by an direct approach with ampl_mintoc (Radau collocation)  and <math>n_t=6000, \, n_u=60</math>.
  Image:VanderpolRelaxed 6000 100 1.pdf| Optimal relaxed controls and states determined by an direct approach with ampl_mintoc (Radau collocation)  and <math>n_t=6000, \, n_u=60</math>.
  Image:MmlotkaCIA 12000 30 1.png| Optimal binary controls and states determined by an direct approach (Radau collocation) with ampl_mintoc and <math>n_t=6000, \, n_u=60</math>. The relaxed controls were approximated by Combinatorial Integral Approximation.
  Image:VanderpolCIA_6000_100_1.pdf| Optimal binary controls and states determined by an direct approach (Radau collocation) with ampl_mintoc and <math>n_t=6000, \, n_u=60</math>. The relaxed controls were approximated by Combinatorial Integral Approximation.
</gallery>
</gallery>






== Source Code ==


Model description is available in
* [[:Category:AMPL | AMPL code]] at [[Van der Pol Oscillator binary variant(AMPL)]]





Revision as of 17:05, 10 January 2018

Van der Pol Oscillator (binary variant)
State dimension: 1
Differential states: 2
Discrete control functions: 3
Interior point equalities: 2

This site describes a Van der Pol Oscillator variant with three binary controls instead of only one continuous control.

Mathematical formulation

The mixed-integer optimal control problem is given by

minx,y,wt0tf(x(t)2+y(t)2dts.t.x˙=y,y˙=i=13ciwi(1x2)yx,x(0)=1,y(0)=0,1=i=13wi(t),wi(t){0,1},i=13.

Parameters

These fixed values are used within the model:

[t0,tf]=[0,20],c1=1,c2=0.75,c3=2.

Reference Solutions

If the problem is relaxed, i.e., we demand that w(t) be in the continuous interval [0,1] instead of the binary choice {0,1}, the optimal solution can be determined by means of direct optimal control.

The optimal objective value of the relaxed problem with nt=6000,nu=60 is 1.30167235. The objective value of the binary controls obtained by Combinatorial Integral Approimation (CIA) is 1.30273681.


Source Code

Model description is available in