Remix.run Logo
cocoto 3 days ago

I tried modeling the problem as a mixed-integer linear program (one binary variable for each possible piece position) and CP-SAT solved this one in two minutes.

cocoto 2 days ago | parent [-]

Edit: Under 10s with CP-SAT after removing many variables (had multiple variables for the same pieces).