PySCIPOpt  5.1.1
Python Interface for the SCIP Optimization Suite
sudoku Namespace Reference

Functions

std::vector< std::vector< int > > getSudokuPuzzle (std::string &filepath)
 
void printSudoku (const std::vector< std::vector< int >> &sudokupuzzle)
 

Variables

list init
 
 m = Model()
 
string name = str(i) + ',' + str(j) + ',' + str(k)
 
string out = ''
 
dictionary sol = {}
 
 vtype
 
dictionary x = {}
 

Variable Documentation

◆ init

list init
Initial value:
1 = [5, 3, 0, 0, 7, 0, 0, 0, 0,
2  6, 0, 0, 1, 9, 5, 0, 0, 0,
3  0, 9, 8, 0, 0, 0, 0, 6, 0,
4  8, 0, 0, 0, 6, 0, 0, 0, 3,
5  4, 0, 0, 8, 0, 3, 0, 0, 1,
6  7, 0, 0, 0, 2, 0, 0, 0, 6,
7  0, 6, 0, 0, 0, 0, 2, 8, 0,
8  0, 0, 0, 4, 1, 9, 0, 0, 5,
9  0, 0, 0, 0, 8, 0, 0, 7, 9]

Definition at line 9 of file sudoku.py.

◆ m

m = Model()

Definition at line 19 of file sudoku.py.

◆ name

name = str(i) + ',' + str(j) + ',' + str(k)

Definition at line 26 of file sudoku.py.

◆ out

string out = ''

Definition at line 61 of file sudoku.py.

◆ sol

dictionary sol = {}

Definition at line 59 of file sudoku.py.

◆ vtype

vtype

Definition at line 27 of file sudoku.py.

◆ x

dictionary x = {}

Definition at line 22 of file sudoku.py.