Hello,

I want to solve an optimization problem with a minimization of costs. I would like to create a loop that would help me solving the same model but changing only one parameter of my objective function at each iteration.

The logic is the following :

While (Parameter <= Bound ):

Solve Objective_Function(Parameter);

Parameter = Parameter + 1;

where “Parameter” is the parameter I want to change at each iteration of the loop.

where “Bound” is simply a bound to stop my while-loop.

where Objective_function is simply the objective function of my problem and depends on the parameter that should change at each iteration.

Could you help me?

Thank you.

**Best answer by gdiepen**