LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sudoku solver with Labview

 

main vi : SUDOKU.vi

 

a) run

b) input : a sudoku by défault (very hard)

c) start ... it find the first solution.

d) toggle the switch to "all solutions"

e) start ... il find all solutions (for this sudoku, 2756 solutions)

 

image_sudoku.png

 

Message 1 of 4
(4,454 Views)

duplicate post

 

it's not a crime, but please tell everyone when you do it.


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 4
(4,421 Views)

Hi ouadji,

 

comments:

- I would not use (unnecessary) matrix conversions (in "possibilities"):

check.png

Your VI tends to be some ms faster without matrix operations Smiley Wink

- Just an optical issue: style guide recommends to connect error wires at the lower left/right connectors

- Just an optical issue: not everyone likes to color each structure in the block diagram

 

Nicely done!

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 4
(4,406 Views)

I would not use (unnecessary) matrix conversions (in "possibilities")

thank you for this tip GerdW

 

Just an optical issue: style guide recommends to connect error wires at the lower left/right connectors

Just an optical issue: not everyone likes to color each structure in the block diagram

ok, understood !

 

Nicely done!  thank you Smiley Happy

 

0 Kudos
Message 4 of 4
(4,386 Views)