Skip to content

fix broken sudoku example#18

Open
guglielmosanchini wants to merge 1 commit intoIBMDecisionOptimization:masterfrom
guglielmosanchini:typo_correction
Open

fix broken sudoku example#18
guglielmosanchini wants to merge 1 commit intoIBMDecisionOptimization:masterfrom
guglielmosanchini:typo_correction

Conversation

@guglielmosanchini
Copy link

  • x = model.binary_var_dict(idx, "X") must be x = model.binary_var_dict(idx, name="X"), otherwise "X" is interpreted as lower bound;
  • solution.print_information() does not exist, should be model.solve_details.print_information();
  • The constraint about the 3x3 sectors containing each number only once was missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant