diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 509240f..6b5c590 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,7 +20,7 @@ GAMSDIST=/path/to/gams ./build-link.sh `build-link.sh` compiles `gmscuopt.out` for CUDA 13, sets its RPATH (needs `gcc` and `patchelf`), and copies it together with the cuOpt and CUDA libraries and the files from `assets/` into `$GAMSDIST`. Since that includes `gamsconfig_cuopt.yaml`, merge it into `gamsconfig.yaml` as described in the [README](README.md#manual-installation). The CI workflows in `.github/workflows` build the release archives for CUDA 12 and 13 on x86_64 and arm64. -New or changed cuOpt options go into `assets/optcuopt.def` and have to be passed on to cuOpt in `gmscuopt.c`. The option table of the cuOpt page in the GAMS documentation is generated from this file with `python3 optdef2md.py`, which writes `optcuopt_s.md`. +New or changed cuOpt options go into `assets/optcuopt.def` and have to be passed on to cuOpt in `gmscuopt.c`. The option table of the cuOpt page in the GAMS documentation is generated from this file with `python3 optdef2md.py --source "GAMS-dev/cuoptlink-builder "`, which writes `optcuopt_s.md` and records the release in its header. ## Testing diff --git a/assets/optcuopt.def b/assets/optcuopt.def index c40c6e1..fd8adb6 100644 --- a/assets/optcuopt.def +++ b/assets/optcuopt.def @@ -17,7 +17,7 @@ mip_probing boolean 0 1 1 1 Toggles the probing-cache step of cuOpt's internal M dual_postsolve boolean 0 1 1 2 Controls whether dual postsolve is enabled when using Papilo presolver for LP problems. Enabled by default for LP when Papilo presolve is selected. time_limit double 0 1e10 0 maxdouble 1 1 Controls the time limit in seconds after which the solver will stop and return the current solution (default GAMS ResLim) work_limit double 0 1e10 0 maxdouble 1 1 Controls the work limit (machine-independent measure of solver effort) after which the MIP solver will stop and return the current solution -node_limit integer 0 maxint 0 maxint 1 1 Controls the maximum number of branch-and-bound nodes the MILP solver will explore before stopping and returning the current best feasible solution (if any). +node_limit integer 0 maxint 0 maxint 1 1 Controls the maximum number of branch-and-bound nodes the MILP solver will explore before stopping and returning the current best feasible solution (if any) (default GAMS NodLim) prob_read string 1 "" 1 1 Reads a problem from an MPS file solution_file string 0 "" 1 1 Name of a file where cuOpt should write the solution user_problem_file string 0 "" 1 1 Name of a file where cuOpt should write the user problem (MPS format) diff --git a/optdef2md.py b/optdef2md.py index 8bb5eff..275a900 100755 --- a/optdef2md.py +++ b/optdef2md.py @@ -6,7 +6,7 @@ GamsOptionsSpecWriter for other solver links): one subsection per option group, one table row per visible option, with doxygen anchors