Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
gscip_callback_result.h
Go to the documentation of this file.
1// Copyright 2010-2024 Google LLC
2// Licensed under the Apache License, Version 2.0 (the "License");
3// you may not use this file except in compliance with the License.
4// You may obtain a copy of the License at
5//
6// http://www.apache.org/licenses/LICENSE-2.0
7//
8// Unless required by applicable law or agreed to in writing, software
9// distributed under the License is distributed on an "AS IS" BASIS,
10// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11// See the License for the specific language governing permissions and
12// limitations under the License.
13
14#ifndef OR_TOOLS_GSCIP_GSCIP_CALLBACK_RESULT_H_
15#define OR_TOOLS_GSCIP_GSCIP_CALLBACK_RESULT_H_
16
17#include "scip/type_result.h"
18#include "scip/type_retcode.h"
19
20namespace operations_research {
21
22// Equivalent to type_result.h in SCIP.
24 kDidNotRun = 1, // The method was not executed.
25 kDelayed = 2, // The method was not executed, should be called again later.
26 kDidNotFind = 3, // The method was executed, but failed finding anything.
27 kFeasible = 4, // No infeasibility could be found.
28 kInfeasible = 5, // An infeasibility was detected.
29 kUnbounded = 6, // An unboundedness was detected.
30 kCutOff = 7, // The current node is infeasible and can be cut off.
31 kSeparated = 8, // The method added a cutting plane.
32 // The method added a cutting plane and a new separation round should
33 // immediately start.
34 kNewRound = 9,
35 kReducedDomain = 10, // The method reduced the domain of a variable.
36 kConstraintAdded = 11, // The method added a constraint.
37 kConstraintChanged = 12, // The method changed a constraint.
38 kBranched = 13, // The method created a branching.
39 kSolveLp = 14, // The current node's LP must be solved.
40 kFoundSolution = 15, // The method found a feasible primal solution.
41 // The method interrupted its execution, but can continue if needed.
42 kSuspend = 16,
43 kSuccess = 17, // The method was successfully executed.
44 // The processing of the branch-and-bound node should stopped and continued
45 // later.
46 kDelayNode = 18
47};
48
50
51} // namespace operations_research
52
53#endif // OR_TOOLS_GSCIP_GSCIP_CALLBACK_RESULT_H_
In SWIG mode, we don't want anything besides these top-level includes.
SCIP_RESULT ConvertGScipCallbackResult(const GScipCallbackResult result)
GScipCallbackResult
Equivalent to type_result.h in SCIP.
@ kSuspend
The method interrupted its execution, but can continue if needed.