Skip to content

Add runnable example programs and update README example instructions#50

Draft
blackopsrepl wants to merge 1 commit intomainfrom
codex/add-examples-directory-with-standard-examples-hzzrlj
Draft

Add runnable example programs and update README example instructions#50
blackopsrepl wants to merge 1 commit intomainfrom
codex/add-examples-directory-with-standard-examples-hzzrlj

Conversation

@blackopsrepl
Copy link
Copy Markdown
Collaborator

Motivation

  • Provide small, self-contained example programs covering scalar, list, mixed, and classic CSP problems to demonstrate typical use-cases.
  • Make README example instructions point to the crate-local examples and show concrete cargo run commands for each example variant.

Description

  • Added four example binaries under crates/solverforge/examples/: scalar_graph_coloring.rs, list_tsp.rs, mixed_job_shop.rs, and nqueens.rs, each implementing a small, documented demo problem.
  • Updated README.md examples section to reference crates/solverforge/examples/, added brief example type bullets (Scalar/List/Mixed) and replaced the single cargo run -p nqueens line with explicit cargo run -p solverforge --example ... invocations for each new example.

Testing

  • Built the workspace examples with cargo build --examples, which completed successfully.
  • Ran the test suite with cargo test, and all automated tests passed.

Codex Task

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant