\brief Main-function * \relates JobShop */
| 798 | * \relates JobShop |
| 799 | */ |
| 800 | int |
| 801 | main(int argc, char* argv[]) { |
| 802 | JobShopOptions opt("JobShop"); |
| 803 | |
| 804 | opt.branching(JobShopSolve::BRANCH_AFC); |
| 805 | opt.branching(JobShopSolve::BRANCH_AFC, "afc"); |
| 806 | opt.branching(JobShopSolve::BRANCH_ACTION, "action"); |
| 807 | opt.branching(JobShopSolve::BRANCH_CHB, "chb"); |
| 808 | |
| 809 | opt.propagation(JobShopSolve::PROP_UNARY); |
| 810 | opt.propagation(JobShopSolve::PROP_ORDER,"order"); |
| 811 | opt.propagation(JobShopSolve::PROP_UNARY,"unary"); |
| 812 | |
| 813 | opt.instance("ft06"); |
| 814 | |
| 815 | opt.restart_base(JobShopConfig::restart_base); |
| 816 | opt.restart_scale(JobShopConfig::restart_scale); |
| 817 | opt.nogoods(true); |
| 818 | |
| 819 | opt.parse(argc,argv); |
| 820 | if (!Spec(opt.instance()).valid()) { |
| 821 | std::cerr << "Error: unknown instance" << std::endl; |
| 822 | return 1; |
| 823 | } |
| 824 | solve(opt); |
| 825 | return 0; |
| 826 | } |
| 827 | |
| 828 | #include "examples/job-shop-instances.hpp" |
| 829 |
nothing calls this directly
no test coverage detected