This is not my manor, but occasionally a combinatorial optimization problem arises that I would like to magically cause to vanish.

Google’s OR tools do this for some problems.

In my case, I can usually get away with using discrete gradient tricks to solve the problem.