Hi,
I have two variables function f(c1,c2) and I would like to randomly generates c1 and c2 with the constraints that
- Maximum >= f(c1,c2)>=C here C is a constant, which is less than the optima for f in a constraint area
- c1>=0, c2>=0,
- c1+c2<=100
Do you know you to realize this? For example, as in the image below, I would like take a random point of (c1,c2) in the darkest blue area.
Best Answer