astra-uu-se / atlantis

CBLS solver
2 stars 1 forks source link

Modify the cost evaluation to always work for minimising. #98

Closed maartenflippo closed 2 years ago

maartenflippo commented 2 years ago

When the objective needs to be maximised, the weight for the objective value in the cost is negative for the cost to be minimisable in all cases.