Bang-bang and Singular Controls

28
Bang-bang and Singular Controls Suzanne Lenhart University of Tennessee, Knoxville Department of Mathematics SL4 – p.1/28

Transcript of Bang-bang and Singular Controls

Page 1: Bang-bang and Singular Controls

Bang-bang and SingularControls

Suzanne Lenhart

University of Tennessee, Knoxville

Department of Mathematics

SL4 – p.1/28

Page 2: Bang-bang and Singular Controls

Bang-Bang Control

A solution to a problem that is linear in thecontrol frequently involves discontinuities in theoptimal control

� ����

��� �� � �� �� � � �

� � � �� � � � � �� � � �

� ��� � �

� � � �

SL4 – p.2/28

Page 3: Bang-bang and Singular Controls

Contd.

� � ��� � !" ��� � # �%$ � ��� � !$ " ��� �

� ! � " ��� � #$ " ��� � � ��� � #$ � ��� �

� ! ��� �� #

rest�where is switching function. Maximize w.r.t.! at ! &

! & �� �'(

(*)+ if

��� � &� # , -

.if

��� � &� # � -

/if

��� � &� # 0 -

SL4 – p.3/28

Page 4: Bang-bang and Singular Controls

If

123 4 53 6 12 7 7 8 9

is not sustained over aninterval of time, then the control is bang-bang.

Bang-bang always at the extreme values of thecontrol set.

a

b

t

u*

SL4 – p.4/28

Page 5: Bang-bang and Singular Controls

If

:;< = >< ? :; @ @ A B

over an interval of time, thevalue of C > is singular.

The choice of C > must be obtained from otherinformation than “ max w.r.t. C”.The times when the OC switches from D to E

orvice-versa or switches to singular control arecalled switch times.(Sometimes difficult to find).

SL4 – p.5/28

Page 6: Bang-bang and Singular Controls

Example 1

F GHI

JK�L M N O%P QR

max sales

P S T NP P K�U O T P J V U

P K R O

stock can be reinvested to expand capacityor sold for revenue and P K R O V U

N K R O

fraction of stock to be reinvested

U N K R O L

T K�L M N OP W NP

SL4 – p.6/28

Page 7: Bang-bang and Singular Controls

Hamiltonian

X Y Z%[ Z\ ] ^ _ _ [

`` Y X [ Z\ ] ^ _

\ a X ]`

`[ X ] Z Y Z\ ] ^ _ ^ _ X Y ] ^ ] \ Ycb \ Z _ X d

when

\ Ze _ ] ^ f d b Y g X ^ \ a X ] \

when

\ Ze _ ] ^ h d b Y g X d \ a X ] ^

Can

ij ilk X d

on a subinterval?Then

\ X ^

and\ a X d

on that subinterval.Contradicts adjoint ODE. No singular case here

SL4 – p.7/28

Page 8: Bang-bang and Singular Controls

Bang-bang

Either

m n o

giving p q o

and

m r q s mor

m t o

giving p q u

and

m r q s o

.m

is decreasing and

m v w q u

.On

x y{z| } | m t o m q s z

p ~ q u | � ~ q � ~ v yz w

.

SL4 – p.8/28

Page 9: Bang-bang and Singular Controls

Hamiltonian

Switch time � �

If � � �� �

� � � �� � � ��

If � �� � � � � � � �

� � �

� � �

� � � � � � � � � � � � � ��� �

SL4 – p.9/28

Page 10: Bang-bang and Singular Controls

Example 2

� ���� �� �� ��

���� � ��  %¡ � �  ¢ �

£ ¤ ¥ � £ ¦�¨§ ©ª ¡

£ ��«   ¥ « £ ��¬   ¥§ ©

¥ ��� � ��  %¡ ­ ®� £ ¦� § © ª ¡ ¯

­ ¤ ¥ �°

° £ ¥ � � ­

­ ¥ ­ �§ � ©ª no transversality condition

¥ ®� � �� ¦ ­� § � ©ª ¯ ¡ � ­ £

¥ ��� � �� ¦ ­ ��   ¡ � ­ £

SL4 – p.10/28

Page 11: Bang-bang and Singular Controls

± ²�³ ´ µ·¶ ¸º¹ » ¸ ¼%½ ³ µ¿¾

² ³ ´ µ·¶ ¸º¹ » ¸ ¼

is switching function and it willswitch from to ¹ at most once.at

¸ ± ÀÁ ³ ² ´ µ¶ ¹ » ¼ ² À ¼  À ÁInitially

ÃÄ ÃlÅ Â À

, ½ Æ ± ¹ Çon

È ÀÁ ɸ ¼

SL4 – p.11/28

Page 12: Bang-bang and Singular Controls

one case

If Ê Ë Ì Í Î

on

Ï�ÐÑ Î ÒÓÔ DE ÓÕ Ð Ö × Ð

Ó × Í ØÙ ÚÜÛ ÚÝÞThat solution does not satisfy ÓÕ Î Ö × Û Ú

.

SL4 – p.12/28

Page 13: Bang-bang and Singular Controls

There must be one switch.On

ß à¿áâ ã ä â å ßæ ç·è é ê ë áíì î â ï ð ñ ã

ò ó DE ò ß ã ë ñ ô õ ò ñ ô õö ß å á õ é ã ë÷

ò ð must be continuous at

àá

ô õ øö ù å à{á õ é ã ú ñ é å à{á õ ô õ øö àá ñ ãå

Switching function ñ îat

à¿á

å ßæ ç è é ê ë à¿á ñ î ç·è ñ ãæ

SL4 – p.13/28

Page 14: Bang-bang and Singular Controls

Optimal solution

ûü ý þ ÿ ûü ý ÿ

� � �� ÿ ��� ÿ

� ü ý þ � � �� � � ü ý � � ��� � � þ ÿ �

SL4 – p.14/28

Page 15: Bang-bang and Singular Controls

Basic resource Model

(Clark p. 95) “Fishery”

�� �� � � ���� �� ��� � � �

� �� ! � � � � � �control (effort), � price and � “catchability”" � � # $%

max discounted profitrevenue - cost

SL4 – p.15/28

Page 16: Bang-bang and Singular Controls

& ' ( )*�+ ,- .�/ 0 1 2+ + . 1 / - . 1

& 3 ' ( )* + , - ./ 0 1 / 2 - . 4 2 + . 15

Singular control occurs when the coefficient ofcontrol is zero over a time interval (switchingfunction is zero).

when ' ( )*+ , - .�/ 0 1 / 2 - . 6 7 8 & 9 :;

' ( )*+ , - .�/ 0 1 / 2 - . < 7 8 & 7

' ( )*+ , - .�/ 0 1 / 2 - . & 7

singular case

SL4 – p.16/28

Page 17: Bang-bang and Singular Controls

Singular Case

Suppose

=> =@? A BC D EF�G HI J�K L M K N I J A B

on a time interval. Solve for

N

N A C D E F HK LI JO N

OP A C D E F�G K Q M HK LI J C D E F LI J R

O JOP

A C D E F K Q HK LI J

LI J RG G J M K I J M

SL4 – p.17/28

Page 18: Bang-bang and Singular Controls

From necessary conditionsST SU VXW YZ Y\[ VXW ]_^ ` abdc e fhg T ij k i [ l e f l m

VXW ^ ` abdc e f g ^ ` ab c W ne [ i j k i [ lW e f l

after substituting in

T

. Set 2 expressions for

ST SU equalo

cancel ^ ` ab pW q c W ne [ g ne [ r i j i [ lW e f [ l

VXW c e fhg c W ne [ i e fW j k i [ l l

SL4 – p.18/28

Page 19: Bang-bang and Singular Controls

Term involving control cancel

s tvu tvwxy

wxy z { y | } ~ { y | wxy s u

...

~ { y | w { y |

y { u xy s w | } toptimal state should satisfy this equation when inthe singular control case.(find y �

and use state DE to find � �

).

SL4 – p.19/28

Page 20: Bang-bang and Singular Controls

Simple case

��� � � � ��� � � �

� � � � �� � � �

ignoring cost of fishing

Singular case

� ��� � � ��� �

� � � �� � � � � �

� � �� � � � � � � ��� � � �� �

� � � � � � �during singular case� � ��� � � � � � � � � � � � � � � � � � �

SL4 – p.20/28

Page 21: Bang-bang and Singular Controls

During singular case

� � � � � � � �

� � � � � ��

� � � � �� � � � � � � � ��

If

� � �

, singular case� � � � � �

� � � � �

SL4 – p.21/28

Page 22: Bang-bang and Singular Controls

Back to Bioreactor Model

� � � � � � �  

state (bacteria)� ¡�¢ £ � �¥¤¦ §¨ ©

¤ ¡ � ¡«ª £ � � ¡«ª £¬ ª

¢ � ¡«ª £

control (nutrient input)

� � � � ­ ¡ � � � �   £

­ � � � ®® � � � ¡ ­ ¡ � � ¯ � £ £

­ ¡ £ � ¢SL4 – p.22/28

Page 23: Bang-bang and Singular Controls

° ± ² ³µ´ ¶ · ¸ ¹ ´ ¶ ³µ´ ºIf

³´ » ¶ · ° ¼

on a time interval, singular control± »

may satisfy

¼ ½ ± » ²«¾ ¸ ½

² ³´ » ¸ ¿ ° ² ³µ´ » ¶ ¸ ´ »using

³À ´ DE² ³´ » ¸ ² ¸ ° ¼

² ³´ » ¸ ²«¾ ¸ ° · ¶ Á à ¶Ä

Å ´ » ²�Æ ¸Ç Æ

¼ ² ³µ´ » ¸ ²«¾ ¸ ½

SL4 – p.23/28

Page 24: Bang-bang and Singular Controls

ÈÉ Ê Ë Ì È«Í Ì

is a strictly decreasing function. ThusÉ Ê�Î Ï Ð Ñcannot be maintained on an interval. No singularcase here.

SL4 – p.24/28

Page 25: Bang-bang and Singular Controls

Switch

One switch occurs when

ÒÓ Ô Õ Ö Ò«× Ö Ø Ù

ÒÓ Ô Õ Ö Ò«× Ö Ø Ù Ú ÛÜ Ý ÚÞ

ß Ô Õ Ò�à Öá à

Can show if

Ù â and sufficiently large, there

is a switch.

SL4 – p.25/28

Page 26: Bang-bang and Singular Controls

If ã ä

or largeWhere is decay rate of contaminant and isgrowth rate of bacteriaand sufficiently large, there is a switch

tT

M

u*

Otherwise å æ ç èi.e. no nutrient feeding.

SL4 – p.26/28

Page 27: Bang-bang and Singular Controls

Free Terminal Time

The final time is part of the unknowns.For example, steer a system from one position toanother position in minimum time.EXTRA condition is the Hamiltonian at the final Tis 0.

SL4 – p.27/28

Page 28: Bang-bang and Singular Controls

Exercise

Solve with a partner now

é êëìí

î ï�ð ñ ò óõô ö÷øsubject to ñ ù ú ô ñ and ñ ï�û ö ú ü

andû ô ïø ö ðýSL4 – p.28/28