Skip to content

Insurance ​

  • 3 state
  • 5 control
  • 1 variable
  • Lagrange cost
  • fixed final time
  • 2 state box
  • 5 control box
  • 1 variable box
  • 4 path
  • 4 boundary
  • OptimalControl valid
  • OptimalControl, scalarized valid
  • JuMP valid

The insurance problem is a benchmark in optimal control inspired by health and financial economics. It consists of controlling insurance coverage, expenses, revenue, health, and utility over a fixed horizon to maximise expected utility. The system dynamics model the evolution of insurance participation, expenses, and auxiliary variables, while respecting bounds on all state and control variables. The controls represent health investments, insurance revenue, health outcomes, and utility contributions.

Mathematical formulation ​

The objective is to maximise expected utility:

where is the probability density of illness events.

State, control, and auxiliary bounds ​

The variables are subject to:

Initial and terminal conditions ​

Dynamics ​

with the expense transformation:

Algebraic / auxiliary constraints ​

These constraints encode revenue balance, health evolution, utility computation, and auxiliary relationships.

Qualitative behaviour ​

  • The optimal strategy balances insurance coverage, health investment, and expenses to maximise utility under constraints.

  • Revenue and health constraints link controls and states nonlinearly.

  • The dynamics incorporate moral hazard effects and diminishing returns on expenses.

  • Auxiliary variables track utility and revenue derivatives, ensuring consistent constraints.

Characteristics ​

  • Nonlinear dynamics, with an auxiliary control.

  • Models health insurance optimisation under ex post moral hazard and risk-sensitive utility.

  • Serves as a benchmark for testing constrained nonlinear OCP solvers.

References ​

  • Martinon, P., Picard, P., & Raj, A. (2018). On the design of optimal health insurance contracts under ex post moral hazard. The Geneva Risk and Insurance Review, 43, 127–155. doi:10.1057/s10713-018-0034-y Provides a theoretical framework for optimal health insurance design under moral hazard, which inspired the benchmark problem formulation.

  • Bocop Repository: Insurance Example. github.com/control-toolbox/bocop/tree/main/bocop Contains the implementation of the insurance optimal control problem used for testing direct transcription methods and NLP solvers.

Parameters ​

ParameterDefault valueUnitMeaning
t00–initial time
tf10–final time
γ0.2–rate at which the health H deteriorates, H = h0 − γ (t − t0)(1 − v(m))
λ0.25–rate of the exponential law of the time of illness, in the density fx
h01.5–initial health level
w1–wealth in the revenue R = w − P + I − m − ε
s10–sensitivity of the utility to the revenue, U = 1 − exp(−s R) + H
k0–coefficient of the loss ε = k (t − t0) / (tf − t + 1)
σ0–loading of the premium, P = x₃(tf) with ẋ₃ = (1 + σ) I fx
α4–exponent of the efficacy v(m) = m^(α/2) / (1 + m^(α/2)) of the expenses
I_l0–lower bound of the indemnity I
I_u1.5–upper bound of the indemnity I
m_l0–lower bound of the medical expenses m
m_u1.5–upper bound of the medical expenses m
h_l0–lower bound of the control h
h_u25–upper bound of the control h
R_l0–lower bound of the revenue R
H_l0–lower bound of the health H
U_l0–lower bound of the utility U
dUdR_l0.001–lower bound of the marginal utility dU/dR
P_l0–lower bound of the premium P
I_t00–initial indemnity
m_t00.001–initial medical expenses
x₃_t00–initial value of x₃, the accumulated cost of the indemnity

Every modeling takes other values with the keyword parameters, merged with these: insurance(backend; parameters=(t0=…,)).

Reference objective ​

The best objective among the solves that converged, in each modeling, on the default grid of the modeling: the modelings are independent, each has its own reference. See how the references are computed.

ModelingSchemeGridReference objectiveSolvesDistinct solutionsConfigurations agree
JuMP:trapeze500-2.05921340381yes, within 3.4e-06
OptimalControl:trapeze500-2.059213403171yes, within 3.4e-06
OptimalControl, scalarized:trapeze500-2.05921340331yes, within 0