Package com.google.ortools.linearsolver
package com.google.ortools.linearsolver
-
ClassDescriptionSets a variable's value to the absolute value of another variable.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.Sets a variable's value equal to a function on a set of variables and, optionally, a constant.Sets a variable's value equal to a function on a set of variables and, optionally, a constant.The class for constraints of a Mathematical Programming (MP) model.
A constraint is represented as a linear equation or inequality.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.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.General constraints.Indicator constraints encode the activation or deactivation of linear constraints given the value of one Boolean variable in the model.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.Encodes a full MPModelProto by way of referencing to a "baseline" MPModelProto stored in a file, and a "delta" to apply to this model.Export options.MPModelProto contains all the information for a Linear Programming model.Annotations can be freely added by users who want to attach arbitrary payload to the model's variables or constraints.Annotations can be freely added by users who want to attach arbitrary payload to the model's variables or constraints.The target of an Annotation is a single entity (e.g. a variable).MPModelProto contains all the information for a Linear Programming model.Next id: 18.Next id: 18.The solver type, which will select a specific implementation, and will also impact the interpretation of the model (i.e. are we solving the problem as a mixed integer program or are we relaxing it as a continuous linear program?).A class to express a linear objective.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 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.Quadratic part of a model's objective.Protobuf typeoperations_research.MPSolution
Protobuf typeoperations_research.MPSolution
Next id: 12.Next id: 12.Protobuf typeoperations_research.MPSolveInfo
Protobuf typeoperations_research.MPSolveInfo
This mathematical programming (MP) solver class is the main class
though which users build and solve problems.Advanced usage: possible basis status values for a variable and the slack
variable of a linear constraint.The type of problems (LP or MIP) that will be solved and the underlying
solver (GLOP, GLPK, CLP, CBC or SCIP) that will solve them.The status of solving the problem.MPSolverCommonParameters holds advanced usage parameters that apply to any of the solvers we support.MPSolverCommonParameters holds advanced usage parameters that apply to any of the solvers we support.Protobuf enumoperations_research.MPSolverCommonParameters.LPAlgorithmValues
This class stores parameter settings for LP and MIP solvers.Enumeration of parameters that take continuous values.Advanced usage: Incrementality options.Enumeration of parameters that take integer or categorical values.LP algorithm to use.For each categorical parameter, enumeration of possible values.Advanced usage: Scaling options.Status returned by the solver.Special Ordered Set (SOS) constraints of type 1 or 2.Special Ordered Set (SOS) constraints of type 1 or 2.Protobuf enumoperations_research.MPSosConstraint.Type
The class for variables of a Mathematical Programming (MP) model.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_boundA 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_boundTo support 'unspecified' double value in proto3, the simplest is to wrap any double value in a nested message (has_XXX works for message fields).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.This message encodes a partial (or full) assignment of the variables of a MPModelProto problem.