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
20
namespace
operations_research
{
21
22
// Equivalent to type_result.h in SCIP.
23
enum class
GScipCallbackResult
{
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
49
SCIP_RESULT
ConvertGScipCallbackResult
(
GScipCallbackResult
result);
50
51
}
// namespace operations_research
52
53
#endif
// OR_TOOLS_GSCIP_GSCIP_CALLBACK_RESULT_H_
operations_research
In SWIG mode, we don't want anything besides these top-level includes.
Definition
binary_indexed_tree.h:21
operations_research::ConvertGScipCallbackResult
SCIP_RESULT ConvertGScipCallbackResult(const GScipCallbackResult result)
Definition
gscip_callback_result.cc:20
operations_research::GScipCallbackResult
GScipCallbackResult
Equivalent to type_result.h in SCIP.
Definition
gscip_callback_result.h:23
operations_research::GScipCallbackResult::kCutOff
@ kCutOff
operations_research::GScipCallbackResult::kSolveLp
@ kSolveLp
operations_research::GScipCallbackResult::kUnbounded
@ kUnbounded
operations_research::GScipCallbackResult::kDidNotRun
@ kDidNotRun
operations_research::GScipCallbackResult::kDelayed
@ kDelayed
operations_research::GScipCallbackResult::kSuspend
@ kSuspend
The method interrupted its execution, but can continue if needed.
operations_research::GScipCallbackResult::kBranched
@ kBranched
operations_research::GScipCallbackResult::kFoundSolution
@ kFoundSolution
operations_research::GScipCallbackResult::kNewRound
@ kNewRound
operations_research::GScipCallbackResult::kFeasible
@ kFeasible
operations_research::GScipCallbackResult::kSuccess
@ kSuccess
operations_research::GScipCallbackResult::kInfeasible
@ kInfeasible
operations_research::GScipCallbackResult::kConstraintChanged
@ kConstraintChanged
operations_research::GScipCallbackResult::kReducedDomain
@ kReducedDomain
operations_research::GScipCallbackResult::kDelayNode
@ kDelayNode
operations_research::GScipCallbackResult::kDidNotFind
@ kDidNotFind
operations_research::GScipCallbackResult::kConstraintAdded
@ kConstraintAdded
operations_research::GScipCallbackResult::kSeparated
@ kSeparated
ortools
gscip
gscip_callback_result.h
Generated by
1.12.0