Debian Codegraph @

submodules/subprojects/highs/docs/src/guide/gpu.md

raw symbols SCIP
1 # [GPU acceleration](@id gpu)
2
3 From HiGHS v1.10.0, its first order primal-dual LP (PDLP) solver
4 [cuPDLP-C](https://github.com/COPT-Public/cuPDLP-C) can be run on an
5 NVIDIA GPU under Linux and Windows. However, to achieve this, CUDA
6 utilities must be installed and HiGHS must be built locally using
7 CMake, as described below.
8
9 ### PDLP: A health warning
10
11 First order solvers for LP are still very much "work in
12 progress". Although impressive results have been reported, these are
13 often to lower accuracy than is achieved by simplex and interior point
14 solvers, have been obtained using top-of-the-range GPUs, and not
15 achieved for all problem classes. Note that, due to PDLP using
16 relative termination conditions, a solution deemed optimal by PDLP may
17 not be accepted as optimal by HiGHS. The user should consider the
18 infeasibility data returned by [HighsInfo](@ref HighsInfo) to decide
19 whether the solution is acceptable to them.
20
21 #### Termination criteria
22
23 Although the PDLP solver may report that it has terminated with an
24 optimal solution, HiGHS may identify that the solution returned by
25 PDLP is not optimal. As discussed in [HiGHS feasibility and optimality
26 tolerances](@ref kkt), this is due to PDLP using relative termination
27 criteria and (unlike interior point solvers) not satisfying
28 feasibility to high accuracy.
29
30 If you use the HiGHS PDLP solver, in the first instance it is
31 recommended that you increase the feasibility and optimality
32 tolerances to `1e-4`, since this will result in the algorithm
33 terminating much sooner. There are multiple feasibility and optimality
34 tolerances, but all will be set to the value of the
35 [`kkt_tolerance`](@ref option-kkt-tolerance) option (if it differs
36 from its default value of `1e-4`) so this is recommended in the first
37 instance.
38
39 ### Requirements
40
41 CUDA Toolkit and CMake.
42
43 A [CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit)
44 installation is required, along with the matching NVIDIA
45 driver. Please install both following the instructions on NVIDIA's
46 website.
47
48 HiGHS must be build locally with CMake.
49
50 Make sure the CUDA compiler `nvcc` is installed by running
51
52 ```
53 nvcc --version
54 ```
55
56 ### Build HiGHS with GPU support
57
58 See [Building HiGHS with NVidia GPU support](@ref gpu-build).