Skip to content

MinAbsGoals: fix seed of abs variable

Teresa Piovesan requested to merge minabs_seed into master

The auxiliary variable used in MinAbsGoal is, by definition, nonnegative. As such, it should be seeded with a nonnegative value. We fix the seeding of the auxiliary variables by using the absolute value of the goal function (and not the value itself). This ensures that x0 is a feasible solution of the optimization problem.

Merge request reports