Crates.io | didp-yaml |
lib.rs | didp-yaml |
version | 0.8.0 |
source | src |
created_at | 2023-02-20 21:27:03.993692 |
updated_at | 2024-06-07 19:13:53.152982 |
description | YAML interface for Dynamic Programming Description Language (DyPDL) and DyPDL solvers. |
homepage | https://didp.ai |
repository | https://github.com/domain-independent-dp/didp-rs |
max_upload_size | |
id | 790170 |
size | 1,330,164 |
didp-yaml is a YAML interface for DyPDL modeling and solvers.
For the syntax of the DyPDL-YAML and the solver configuration, see the user guide
First, install Rust following the instruction on the official webpage: https://www.rust-lang.org/tools/install
Next, install didp-yaml
.
cargo install didp-yaml
didp-yaml domain.yaml problem.yaml config.yaml
Here, domain.yaml
is the domain file for the problem, problem.yaml
is the problem file for the problem, and config.yaml
is the configuration file for a solver.
There are some examples in examples
. For example, you can test the CABS solver on TSPTW, CVRP, SALBP-1, bin packing, MOSP, and graph clear.
didp-yaml tsptw/tsptw-domain.yaml tsptw/tsptw-problem.yaml solvers/cabs.yaml
didp-yaml cvrp/cvrp-domain.yaml cvrp/cvrp-problem.yaml solvers/cabs.yaml
didp-yaml salbp-1/salbp-1-domain.yaml salbp-1/salbp-1-problem.yaml solvers/cabs.yaml
didp-yaml bin-packing/bin-packing-domain.yaml bin-packing/bin-packing-problem.yaml solvers/cabs.yaml
didp-yaml mosp/mosp-domain.yaml mosp/mosp-problem.yaml solvers/cabs.yaml
didp-yaml graph-clear/graph-clear-domain.yaml graph-clear/graph-clear-problem.yaml solvers/cabs.yaml