Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Go to the source code of this file.
Classes | |
class | OperationsResearch.LinearSolverReflection |
Holder for reflection information generated from ortools/linear_solver/linear_solver.proto. More... | |
class | OperationsResearch.MPVariableProto |
A variable is always constrained in the form: lower_bound <= x <= upper_bound where lower_bound and upper_bound: More... | |
class | OperationsResearch.MPConstraintProto |
A linear constraint is always of the form: lower_bound <= sum of linear term elements <= upper_bound, where lower_bound and upper_bound: More... | |
class | OperationsResearch.MPGeneralConstraintProto |
General constraints. See each individual proto type for more information. More... | |
class | OperationsResearch.MPIndicatorConstraint |
Indicator constraints encode the activation or deactivation of linear constraints given the value of one Boolean variable in the model. For example: y = 0 => 2 * x1 + 3 * x2 >= 42 The 2 * x1 + 3 * x2 >= 42 constraint is only active if the variable y is equal to 0. As of 2019/04, only SCIP, CP-SAT and Gurobi support this constraint type. More... | |
class | OperationsResearch.MPSosConstraint |
Special Ordered Set (SOS) constraints of type 1 or 2. See https://en.wikipedia.org/wiki/Special_ordered_set As of 2019/04, only SCIP and Gurobi support this constraint type. More... | |
class | OperationsResearch.MPSosConstraint.Types |
Container for nested types declared in the MPSosConstraint message type. More... | |
class | OperationsResearch.MPQuadraticConstraint |
Quadratic constraints of the form lb <= sum a_i x_i + sum b_ij x_i x_j <= ub, where a, b, lb and ub are constants, and x are the model's variables. Quadratic matrices that are Positive Semi-Definite, Second-Order Cones or rotated Second-Order Cones are always accepted. Other forms may or may not be accepted depending on the underlying solver used. See https://scip.zib.de/doc/html/cons__quadratic_8h.php and https://www.gurobi.com/documentation/9.0/refman/constraints.html#subsubsection:QuadraticConstraints. More... | |
class | OperationsResearch.MPAbsConstraint |
Sets a variable's value to the absolute value of another variable. More... | |
class | OperationsResearch.MPArrayConstraint |
Sets a variable's value equal to a function on a set of variables. More... | |
class | OperationsResearch.MPArrayWithConstantConstraint |
Sets a variable's value equal to a function on a set of variables and, optionally, a constant. More... | |
class | OperationsResearch.MPQuadraticObjective |
Quadratic part of a model's objective. Added with other objectives (such as linear), this creates the model's objective function to be optimized. More... | |
class | OperationsResearch.PartialVariableAssignment |
This message encodes a partial (or full) assignment of the variables of a MPModelProto problem. The indices in var_index should be unique and valid variable indices of the associated problem. More... | |
class | OperationsResearch.MPModelProto |
MPModelProto contains all the information for a Linear Programming model. More... | |
class | OperationsResearch.MPModelProto.Types |
Container for nested types declared in the MPModelProto message type. More... | |
class | OperationsResearch.MPModelProto.Types.Annotation |
Annotations can be freely added by users who want to attach arbitrary payload to the model's variables or constraints. More... | |
class | OperationsResearch.MPModelProto.Types.Annotation.Types |
Container for nested types declared in the Annotation message type. More... | |
class | OperationsResearch.OptionalDouble |
To support 'unspecified' double value in proto3, the simplest is to wrap any double value in a nested message (has_XXX works for message fields). More... | |
class | OperationsResearch.MPSolverCommonParameters |
MPSolverCommonParameters holds advanced usage parameters that apply to any of the solvers we support. All of the fields in this proto can have a value of unspecified. In this case each inner solver will use their own safe defaults. Some values won't be supported by some solvers. The behavior in that case is not defined yet. More... | |
class | OperationsResearch.MPSolverCommonParameters.Types |
Container for nested types declared in the MPSolverCommonParameters message type. More... | |
class | OperationsResearch.MPModelDeltaProto |
Encodes a full MPModelProto by way of referencing to a "baseline" MPModelProto stored in a file, and a "delta" to apply to this model. More... | |
class | OperationsResearch.MPModelRequest |
Next id: 18. More... | |
class | OperationsResearch.MPModelRequest.Types |
Container for nested types declared in the MPModelRequest message type. More... | |
class | OperationsResearch.MPSolution |
class | OperationsResearch.MPSolveInfo |
class | OperationsResearch.MPSolutionResponse |
Next id: 12. More... | |
Namespaces | |
namespace | OperationsResearch |
Enumerations | |
enum | OperationsResearch.MPSolverResponseStatus { OperationsResearch.MpsolverOptimal = 0 , OperationsResearch.MpsolverFeasible = 1 , OperationsResearch.MpsolverInfeasible = 2 , OperationsResearch.MpsolverUnbounded = 3 , OperationsResearch.MpsolverAbnormal = 4 , OperationsResearch.MpsolverNotSolved = 6 , OperationsResearch.MpsolverModelIsValid = 97 , OperationsResearch.MpsolverCancelledByUser = 98 , OperationsResearch.MpsolverUnknownStatus = 99 , OperationsResearch.MpsolverModelInvalid = 5 , OperationsResearch.MpsolverModelInvalidSolutionHint = 84 , OperationsResearch.MpsolverModelInvalidSolverParameters = 85 , OperationsResearch.MpsolverSolverTypeUnavailable = 7 , OperationsResearch.MpsolverIncompatibleOptions = 113 } |
Status returned by the solver. They follow a hierarchical nomenclature, to allow us to add more enum values in the future. Clients should use InCategory() to match these enums, with the following C++ pseudo-code: More... | |