You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cuopt/source/lp-features.rst
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,9 +76,17 @@ Crossover
76
76
Crossover allows you to obtain a high-quality basic solution from the results of a PDLP solve. More details can be found :ref:`here <crossover>`.
77
77
78
78
79
-
Logging Callback
80
-
----------------
81
-
With logging callback, users can fetch server-side logs for additional debugs and to get details on solver process details. :ref:`Examples <generic-example-with-normal-and-batch-mode>` are shared on the self-hosted page.
79
+
Logging
80
+
-------
81
+
82
+
The CUOPT_LOG_FILE parameter can be set to write detailed solver logs for LP problems. This parameter is available in all APIs that allow setting solver parameters except the cuOpt service. For the service, see the logging callback below.
83
+
84
+
Logging Callback in the Service
85
+
-------------------------------
86
+
87
+
In the cuOpt service API, the ``log_file`` value in ``solver_configs`` is ignored.
88
+
89
+
If however you set the ``solver_logs`` flag on the ``/cuopt/request`` REST API call, users can fetch the log file content from the webserver at ``/cuopt/logs/{id}``. Using the logging callback feature through the cuOpt client is shown in :ref:`Examples <generic-example-with-normal-and-batch-mode>` on the self-hosted page.
Copy file name to clipboardExpand all lines: docs/cuopt/source/milp-features.rst
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,15 +50,23 @@ There are two ways to specify constraints in cuOpt MILP:
50
50
51
51
Both forms are mathematically equivalent. The choice between them is a matter of convenience depending on your problem formulation.
52
52
53
-
Incumbent Solution Callback
54
-
---------------------------
53
+
Incumbent Solution Callback in the Service
54
+
------------------------------------------
55
55
56
-
User can provide a callback to receive new integer feasible solutions that improve the objective (called incumbents) while the solver is running. An :ref:`Incumbent Example <incumbent-and-logging-callback>` is shared on the self-hosted page.
56
+
When using the service, users can provide a callback to receive new integer feasible solutions that improve the objective (called incumbents) while the solver is running. An :ref:`Incumbent Example <incumbent-and-logging-callback>` is shared on the self-hosted page.
57
57
58
-
Logging Callback
59
-
----------------
58
+
Logging
59
+
-------
60
+
61
+
The CUOPT_LOG_FILE parameter can be set to write detailed solver logs for MILP problems. This parameter is available in all APIs that allow setting solver parameters except for the cuOpt service. For the service, see the logging callback below.
62
+
63
+
Logging Callback in the Service
64
+
-------------------------------
65
+
66
+
In the cuOpt service API, the ``log_file`` value in ``solver_configs`` is ignored.
67
+
68
+
If however you set the ``solver_logs`` flag on the ``/cuopt/request`` REST API call, users can fetch the log file content from the webserver at ``/cuopt/logs/{id}``. Using the logging callback feature through the cuOpt client is shown in :ref:`Logging Callback Example <incumbent-and-logging-callback>` on the self-hosted page.
60
69
61
-
A logging callback allows users to get additional information about how the solve is progressing. A :ref:`Logging Callback Example <incumbent-and-logging-callback>` is shared on the self-hosted page.
In addition to the quality improvements, some new features were added, and some features were deprecated to improve user experience. For any questions, please reach out to the cuOpt team through github issues.
6
6
@@ -10,8 +10,72 @@ Parameter/option statuses are listed below, they express how each of these optio
10
10
11
11
**Update** - A change in definition of feature.
12
12
13
-
**Deprecated** - These are “no operation” options, they will be accepted by the server, but they will not be used anywhere. And the solver will also return a warning about them being deprecated.
13
+
**Deprecated** - These options will be accepted but will be removed in the future. In the case of the cuOpt service, the server will also return a warning noting that a feature is deprecated.
14
14
15
15
**Limited** - These options are limited with respect to the number of dimensions that can be provided.
16
16
17
-
**Removed** - These features were deprecated in previous release and completely removed in this one.
17
+
**Removed** - These features were deprecated in a previous release and completely removed in this one.
18
+
19
+
For all solver_configs fields, see the LP/MILP settings guide :doc:`lp-milp-settings` or the service openapi spec :doc:`open-api`.
20
+
21
+
Changes to solver_configs.tolerances
22
+
------------------------------------
23
+
24
+
The following fields are **Deprecated** in ``solver_configs.tolerances`` for the service:
25
+
26
+
- absolute_primal
27
+
- absolute_dual
28
+
- absolute_gap
29
+
- relative_primal
30
+
- relative_dual
31
+
- relative_gap
32
+
- primal_infeasible
33
+
- dual_infeasible
34
+
- integrality_tolerance
35
+
- absolute_mip_gap
36
+
- relative_mip_gap
37
+
38
+
The following fields are **New** in ``solver_configs.tolerances`` for the service and replace the deprecated fields above:
39
+
40
+
- absolute_primal_tolerance
41
+
- absolute_dual_tolerance
42
+
- absolute_gap_tolerance
43
+
- relative_primal_tolerance
44
+
- relative_dual_tolerance
45
+
- relative_gap_tolerance
46
+
- primal_infeasible_tolerance
47
+
- dual_infeasible_tolerance
48
+
- mip_integrality_tolerance
49
+
- mip_absolute_gap
50
+
- mip_relative_gap
51
+
52
+
The following fields are **New** in ``solver_configs.tolerances`` for the service but were available in the C API in 25.05
53
+
54
+
- mip_absolute_tolerance
55
+
- mip_relative_tolerance
56
+
57
+
Changes to solver_configs
58
+
-------------------------
59
+
60
+
The following fields are **Deprecated** in ``solver_configs`` for the service:
61
+
62
+
- solver_mode
63
+
- heuristics_only
64
+
65
+
The following fields are **New** in ``solver_configs`` for the service and replace the deprecated fields above:
66
+
67
+
- pdlp_solver_mode
68
+
- mip_heuristics_only
69
+
70
+
The following are **New** in ``solver_configs`` for the service but were available in the C API in 25.05
0 commit comments