Implementing a simple stochastic optimisation problem with probability-based constraint in Python
I have the following stochastic optimisation problem that I would like to implement:
I have the following stochastic optimisation problem that I would like to implement: