Robust optimization with trigonometric cost and a joint chance constraintΒΆ

Problem statement:

\begin{aligned}
& \underset{x}{\text{minimize}}
& & \mathbb{E}_{\cD}(\cos(x) \sin(\Theta)) \\
& \text{subject to}
& & \mathbb{P}_{\cD}(-2 - x + \Theta \leq 0) \geq 0.9 \\
& & & x - 4 \leq 0 \\
& & & \Theta \thicksim \cU(0, 2)
\end{aligned}

Solution: \hat{x} = \pi

x*= [3.14159] J(x*)= [-0.799441] iteration= 2