N-queens minimum and knights and bishops: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
(Created Nim solution.)
m (→‎{{header|Wren}}: Changed to Wren S/H)
 
Line 2,231:
 
Although far quicker than it was originally (it now gets to 7 knights in less than a minute), it struggles after that and needs north of 21 minutes to get to 10.
<syntaxhighlight lang="ecmascriptwren">import "./fmt" for Fmt
 
var board
Line 2,471:
 
I have borrowed one or two tricks from the Julia/Python versions in formulating the constraints.
<syntaxhighlight lang="ecmascriptwren">import "./linear" for Prob, Glp, Tran, File
import "./fmt" for Fmt
 
9,476

edits