algorithmic modeling for Rhino
If you haven't heard about it:
http://www.theguardian.com/science/alexs-adventures-in-numberland/2...
the weird thing is, I don't get the same solutions every time I run it.
If you have any improvements ideas please share it!
also if you don't understand it.
the script is attached.
Tags:
And here it is!
If I haven't done wrong, there are 136 possible combinations that give out 66.
Btw 80 seconds of calculation!! (enable cross product component and wait... patiently...)
(man... brute force sucks! ... or not? ... I would like to know GPGPU/OpenGL + c# to try a multi-parallelized version ... but I have no clue T_T )
This def is not adaptive, so with a new problem, other than rewrite the formula you'll have to readapt the components manually.... (i suggest to do that with CrossProduct component disabled)
:D
attachment :P
duh
If you're going to try and solve this with a brute force method, you'll have to set it up so that all possible states can indeed be handled. I also think you had your precedence brackets set up wrong. I'm not sure if the puzzle uses proper operator precedence (in which case no brackets are needed) or if all operations are simply meant to be taken in turn. I assumed the latter.
This is lighter!
If as you say, David, there are 1305 solutions...
Btw in the solution page here: http://www.theguardian.com/science/alexs-adventures-in-numberland/2... they set it up as Daniel's formula...
...Why formatted text TO int weight way lesser than evaluating an expression??
text -> int actually does evaluate the expression as well, so it's not faster.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by