首页 > > 详细

Matlab 编程辅导、Sudoku puzzle辅导 解析R语言编程|解析Haskell程

Important: Submit your own work. No teamwork or solutions found on
the internet allowed. You are also not allowed to use the Sudoku
solver Matlab added.
a) Devise a LP that will provide the solution to a Sudoku puzzle of
arbitrary size. Describe your variables, cost function, and
constraints carefully. (You are allowed to use integer constraints if
you want)
b) Create a Matlab script to solve your LP for a 4x4 Sudoku puzzle
(you may use linprog or intlinprog).
c) Test your script on the puzzle in the attached figure (source
http://www.sudokurepublic.com/4x4_puzzles.php )
d) Devise an approach to test if the solution to your puzzle is
unique. Describe the approach carefully.
e) Test the approach in part d) to prove the uniqueness of your
solution in part c.
联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!