23 ms·
This is not able to solve linear problems as it's built only for discrete variables in mind. The approach is more removing values from the search space to find
by wikunia 7y ago
This is not able to solve linear problems as it's built only for discrete variables in mind. The approach is more removing values from the search space to find a feasible solution whereas LP focuses on optimization. There are problems were both approaches can be used. Currently my solver is quite limited. Stay tuned
- dnautics 7y agonot sure if you were aware, but you could have initialized the grid like this: grid = Int8[0 0 0 5 4 6 0 0 9 0 2 0 0 0 0 0 0 7 0 0 3 9 0 0 0 0 4 9 0 5 0 0 0 0 7 0 7 0 0 0 0 0 0 2 0 0 0 0 0 9 3 0 0 0 0 5 6 0 0 8 0 0 0 0 1 0 0 3 9 0 0 0 0 0 0 0 0 0 8 0 6]
- stabbles 7y agoInt8[0 0 0 5 4 6 0 0 9; 0 2 0 0 0 0 0 0 7; 0 0 3 9 0 0 0 0 4; 9 0 5 0 0 0 0 7 0; 7 0 0 0 0 0 0 2 0; 0 0 0 0 9 3 0 0 0; 0 5 6 0 0 8 0 0 0; 0 1 0 0 3 9 0 0 0; 0 0 0 0 0 0 8 0 6]