Skip to content

Conversation

@stijnh
Copy link
Member

@stijnh stijnh commented Sep 30, 2025

Simulated annealing works poorly when the cost is negative, as it takes the difference relative to the old cost (which can be negative).

This PR makes it take the difference relative to the absolute cost.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants