# Constants
Default values for MPConstraintProto fields.
Default values for MPConstraintProto fields.
Default values for MPGeneralConstraintProto fields.
Default values for MPModelProto fields.
Default values for MPModelProto fields.
Default values for MPModelProto fields.
Default values for MPModelRequest fields.
Default values for MPSolutionResponse fields.
Default values for MPSolverCommonParameters fields.
Default values for MPSolverCommonParameters fields.
Default values for MPSolverCommonParameters fields.
Default values for MPSosConstraint fields.
Default values for MPVariableProto fields.
Default values for MPVariableProto fields.
Default values for MPVariableProto fields.
Default values for MPVariableProto fields.
No description provided by the author
No description provided by the author
No description provided by the author
Commercial, needs a valid license.
Commercial, needs a valid license.
Recommended default for LP models.
No description provided by the author
No description provided by the author
Commercial, needs a valid license.
Commercial, needs a valid license.
No description provided by the author
WARNING: This solver will currently interpret all variables as integer, so any solution you get will be valid, but the optimal might be far away for the real one (when you authorise non-integer value for continuous variables).
Recommended default for MIP models.
Commercial, needs a valid license.
Commercial, needs a valid license.
Barrier algorithm.
Dual simplex.
Primal simplex.
No description provided by the author
An error (most probably numerical) occurred.
The solver had enough time to find some solution that satisfies all constraints, but it did not prove optimality (which means it may or may not have reached the optimal).
The model does not have any solution, according to the solver (which "proved" it, with the caveat that numerical proofs aren't actual proofs), or based on trivial considerations (eg.
Model errors.
Something is wrong with the fields "solution_hint_var_index" and/or "solution_hint_var_value".
Something is wrong with the solver_specific_parameters request field.
Like "NOT_SOLVED", but typically used by model validation functions returning a "model status", to enhance readability of the client code.
The solver did not have a chance to diagnose the model in one of the categories above.
The solver found the proven optimal solution.
Implementation error: the requested solver implementation is not available (see MPModelRequest.solver_type).
There exist solutions that make the magnitude of the objective value as large as wanted (i.e.
Special value: the solver status could not be properly translated and is unknown.
At most one variable in `var_index` must be non-zero.
At most two consecutive variables from `var_index` can be non-zero (i.e.
# Variables
Default values for MPConstraintProto fields.
Default values for MPConstraintProto fields.
Default values for MPQuadraticConstraint fields.
Default values for MPQuadraticConstraint fields.
Default values for MPVariableProto fields.
Default values for MPVariableProto fields.
No description provided by the author
Enum value maps for MPModelRequest_SolverType.
Enum value maps for MPModelRequest_SolverType.
Enum value maps for MPSolverCommonParameters_LPAlgorithmValues.
Enum value maps for MPSolverCommonParameters_LPAlgorithmValues.
Enum value maps for MPSolverResponseStatus.
Enum value maps for MPSolverResponseStatus.
Enum value maps for MPSosConstraint_Type.
Enum value maps for MPSosConstraint_Type.
# Structs
Sets a variable's value to the absolute value of another variable.
Sets a variable's value equal to a function on a set of variables.
Sets a variable's value equal to a function on a set of variables and, optionally, a constant.
A linear constraint is always of the form: lower_bound <= sum of linear term elements <= upper_bound, where lower_bound and upper_bound: - Can form a singleton: lower_bound == upper_bound.
General constraints.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Indicator constraints encode the activation or deactivation of linear constraints given the value of one Boolean variable in the model.
Encodes a full MPModelProto by way of referencing to a "baseline" MPModelProto stored in a file, and a "delta" to apply to this model.
MPModelProto contains all the information for a Linear Programming model.
Next id: 9.
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 part of a model's objective.
No description provided by the author
MPSolverCommonParameters holds advanced usage parameters that apply to any of the solvers we support.
Special Ordered Set (SOS) constraints of type 1 or 2.
A variable is always constrained in the form: lower_bound <= x <= upper_bound where lower_bound and upper_bound: - Can form a singleton: x = constant = lower_bound = upper_bound.
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).
This message encodes a partial (or full) assignment of the variables of a MPModelProto problem.
# Type aliases
The solver type, which will select a specific implementation, and will also impact the interpretation of the model (i.e.
No description provided by the author
Status returned by the solver.
No description provided by the author