项目作者: WLOGSolutions

项目描述 :
Solving Sudoku with R (Euler Problem 96)
高级语言: R
项目地址: git://github.com/WLOGSolutions/SuDokuR.git
创建时间: 2018-12-07T20:08:29Z
项目社区:https://github.com/WLOGSolutions/SuDokuR

开源协议:Apache License 2.0

下载


SuDokuR

Solving Sudoku with R (Euler Problem 96).

Prerequisities

I have used:

  • R in version 3.5.1
  • R Suite in version 0.33-246

Remark for Windows users

Instalation of the packages requires Rtools compatible with your R version.

Usage instruction

Prepare project

Install dependencies for the project

  1. rsuite proj depsinst

Build custom packages

  1. rsuite proj build

Run solver

In folder data there is a file p096_sudoku.txt with 50 SuDoku’s tables. To solve all of them you have to call the following command:

  1. Rscript R/solve.R

The command must be run in a project folder.

The results are exported into export directory.

For impatient

I have prepared binary deployment packages with R Suite. To use them you have to download, unzip and run the solver as described above. You only need R in version 3.5+

The binary versions: