{"id":30665328,"url":"https://github.com/code-artist/sudokusolver_csp","last_synced_at":"2025-08-31T20:21:03.649Z","repository":{"id":190814781,"uuid":"683304147","full_name":"Code-Artist/SudokuSolver_CSP","owner":"Code-Artist","description":"C# Sudoku Solver using CSP","archived":false,"fork":false,"pushed_at":"2023-12-01T11:59:03.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-12-01T13:47:40.729Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Code-Artist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-26T06:20:28.000Z","updated_at":"2023-08-26T06:20:34.000Z","dependencies_parsed_at":"2023-12-01T13:43:29.657Z","dependency_job_id":"ce340546-222e-4322-8638-43c42a2229fd","html_url":"https://github.com/Code-Artist/SudokuSolver_CSP","commit_stats":null,"previous_names":["code-artist/sudokusolver_csp"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/Code-Artist/SudokuSolver_CSP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Artist%2FSudokuSolver_CSP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Artist%2FSudokuSolver_CSP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Artist%2FSudokuSolver_CSP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Artist%2FSudokuSolver_CSP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-Artist","download_url":"https://codeload.github.com/Code-Artist/SudokuSolver_CSP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Artist%2FSudokuSolver_CSP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273032938,"owners_count":25034069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-31T20:21:00.479Z","updated_at":"2025-08-31T20:21:03.642Z","avatar_url":"https://github.com/Code-Artist.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SudokuSolver_CSP\n## About CSP\nA constraint search does not refer to any specific search algorithm but to a layer of complexity added to existing algorithms that limit the possible solution set. A Constraint Search Problem (CSP) is an Artificial Intelligence Algorithm defined by a set of variables and a set of constraints where each variable has a non empty domain of possible values. Each domain in variable is evaluated with defined constraints.\n\n## CSP Sudoku Solver\nC# Sudoku Solver is an example implementation using CSP search algorithm. The code is optimized to solve 9 x 9 sudoku in 1ms.\n\n![Sudoku_Solver](https://github.com/Code-Artist/SudokuSolver_CSP/assets/1674648/ec653748-5ea3-470b-a0dc-3a4f7147b790)\n\n### Forward Checking\nA define flag FORWARD_CHECKING in code is used to enable / disable forward checking to eliminate domains in variables which does not comply with defined constraints.\n\n### Animation\nTo visualize search algorithm execution, subscribe to CellValueChanged event in MainForm constructor to show value change on each iteration. Disable this line to get maximum performance of the algorithm.\n\n### Reference\n[Constraint Satisfaction Problems (CSP) in Artificial Intelligence](https://www.geeksforgeeks.org/constraint-satisfaction-problems-csp-in-artificial-intelligence/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-artist%2Fsudokusolver_csp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-artist%2Fsudokusolver_csp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-artist%2Fsudokusolver_csp/lists"}