Skip to content

Command Line

After building the native solver, run:

mkdir -p output
./build/pdhcg problem.qps output

The first argument is an MPS, QPS, or CBF file; gzip-compressed variants are also accepted. The second is an existing output directory.

For problem.qps, the output files are:

File Contents
problem_summary.txt Termination status, objectives, residuals, and timing
problem_primal_solution.txt Primal solution, one value per line
problem_dual_solution.txt Dual solution, one value per line

Solver options

For example, set a time limit and tighter tolerances:

./build/pdhcg problem.qps output --time_limit 60 --eps_opt 1e-6 --eps_feas 1e-6

The executable's help lists all supported flags, accepted values, and defaults:

./build/pdhcg --help

See Devices for backend selection, CPU threads, and multi-GPU execution; see Algorithm for the solver's update and certificate conditions.