Please, be aware that test cases don't necessarily use all the same penalty parameters. For instance, I have used 1e6 for cases 2,3,4 & 6 and 1e4 for cases 1 & 5. It all depends on which method one uses for the exterior penalty (and approximations may fail because of it).
In a sense, it is like trying to find the secret formula instead of finding the minimum value of a function.
5743 Solvers
Recurring Cycle Length (Inspired by Project Euler Problem 26)
68 Solvers
291 Solvers
Crossing to Kissing - Untangle the Lines
24 Solvers
Return the first and last characters of a character array
3671 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!