public static final class MPSolverCommonParameters.Builder extends com.google.protobuf.GeneratedMessage.Builder<MPSolverCommonParameters.Builder> implements MPSolverCommonParametersOrBuilder
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.Protobuf type
operations_research.MPSolverCommonParameters
Modifier and Type | Method and Description |
---|---|
MPSolverCommonParameters |
build() |
MPSolverCommonParameters |
buildPartial() |
MPSolverCommonParameters.Builder |
clear() |
MPSolverCommonParameters.Builder |
clearDualTolerance()
Tolerance for dual feasibility.
|
MPSolverCommonParameters.Builder |
clearLpAlgorithm()
Algorithm to solve linear programs.
|
MPSolverCommonParameters.Builder |
clearPresolve()
Gurobi and SCIP enable presolve by default.
|
MPSolverCommonParameters.Builder |
clearPrimalTolerance()
Tolerance for primal feasibility of basic solutions: this is the maximum
allowed error in constraint satisfiability.
|
MPSolverCommonParameters.Builder |
clearRelativeMipGap()
The solver stops if the relative MIP gap reaches this value or below.
|
MPSolverCommonParameters.Builder |
clearScaling()
Enable automatic scaling of matrix coefficients and objective.
|
MPSolverCommonParameters |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
OptionalDouble |
getDualTolerance()
Tolerance for dual feasibility.
|
OptionalDouble.Builder |
getDualToleranceBuilder()
Tolerance for dual feasibility.
|
OptionalDoubleOrBuilder |
getDualToleranceOrBuilder()
Tolerance for dual feasibility.
|
MPSolverCommonParameters.LPAlgorithmValues |
getLpAlgorithm()
Algorithm to solve linear programs.
|
OptionalBoolean |
getPresolve()
Gurobi and SCIP enable presolve by default.
|
OptionalDouble |
getPrimalTolerance()
Tolerance for primal feasibility of basic solutions: this is the maximum
allowed error in constraint satisfiability.
|
OptionalDouble.Builder |
getPrimalToleranceBuilder()
Tolerance for primal feasibility of basic solutions: this is the maximum
allowed error in constraint satisfiability.
|
OptionalDoubleOrBuilder |
getPrimalToleranceOrBuilder()
Tolerance for primal feasibility of basic solutions: this is the maximum
allowed error in constraint satisfiability.
|
OptionalDouble |
getRelativeMipGap()
The solver stops if the relative MIP gap reaches this value or below.
|
OptionalDouble.Builder |
getRelativeMipGapBuilder()
The solver stops if the relative MIP gap reaches this value or below.
|
OptionalDoubleOrBuilder |
getRelativeMipGapOrBuilder()
The solver stops if the relative MIP gap reaches this value or below.
|
OptionalBoolean |
getScaling()
Enable automatic scaling of matrix coefficients and objective.
|
boolean |
hasDualTolerance()
Tolerance for dual feasibility.
|
boolean |
hasLpAlgorithm()
Algorithm to solve linear programs.
|
boolean |
hasPresolve()
Gurobi and SCIP enable presolve by default.
|
boolean |
hasPrimalTolerance()
Tolerance for primal feasibility of basic solutions: this is the maximum
allowed error in constraint satisfiability.
|
boolean |
hasRelativeMipGap()
The solver stops if the relative MIP gap reaches this value or below.
|
boolean |
hasScaling()
Enable automatic scaling of matrix coefficients and objective.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MPSolverCommonParameters.Builder |
mergeDualTolerance(OptionalDouble value)
Tolerance for dual feasibility.
|
MPSolverCommonParameters.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MPSolverCommonParameters.Builder |
mergeFrom(com.google.protobuf.Message other) |
MPSolverCommonParameters.Builder |
mergeFrom(MPSolverCommonParameters other) |
MPSolverCommonParameters.Builder |
mergePrimalTolerance(OptionalDouble value)
Tolerance for primal feasibility of basic solutions: this is the maximum
allowed error in constraint satisfiability.
|
MPSolverCommonParameters.Builder |
mergeRelativeMipGap(OptionalDouble value)
The solver stops if the relative MIP gap reaches this value or below.
|
MPSolverCommonParameters.Builder |
setDualTolerance(OptionalDouble.Builder builderForValue)
Tolerance for dual feasibility.
|
MPSolverCommonParameters.Builder |
setDualTolerance(OptionalDouble value)
Tolerance for dual feasibility.
|
MPSolverCommonParameters.Builder |
setLpAlgorithm(MPSolverCommonParameters.LPAlgorithmValues value)
Algorithm to solve linear programs.
|
MPSolverCommonParameters.Builder |
setPresolve(OptionalBoolean value)
Gurobi and SCIP enable presolve by default.
|
MPSolverCommonParameters.Builder |
setPrimalTolerance(OptionalDouble.Builder builderForValue)
Tolerance for primal feasibility of basic solutions: this is the maximum
allowed error in constraint satisfiability.
|
MPSolverCommonParameters.Builder |
setPrimalTolerance(OptionalDouble value)
Tolerance for primal feasibility of basic solutions: this is the maximum
allowed error in constraint satisfiability.
|
MPSolverCommonParameters.Builder |
setRelativeMipGap(OptionalDouble.Builder builderForValue)
The solver stops if the relative MIP gap reaches this value or below.
|
MPSolverCommonParameters.Builder |
setRelativeMipGap(OptionalDouble value)
The solver stops if the relative MIP gap reaches this value or below.
|
MPSolverCommonParameters.Builder |
setScaling(OptionalBoolean value)
Enable automatic scaling of matrix coefficients and objective.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<MPSolverCommonParameters.Builder>
public MPSolverCommonParameters.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<MPSolverCommonParameters.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<MPSolverCommonParameters.Builder>
public MPSolverCommonParameters getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MPSolverCommonParameters build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MPSolverCommonParameters buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MPSolverCommonParameters.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MPSolverCommonParameters.Builder>
public MPSolverCommonParameters.Builder mergeFrom(MPSolverCommonParameters other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<MPSolverCommonParameters.Builder>
public MPSolverCommonParameters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MPSolverCommonParameters.Builder>
java.io.IOException
public boolean hasRelativeMipGap()
The solver stops if the relative MIP gap reaches this value or below. The relative MIP gap is an upper bound of the relative distance to the optimum, and it is defined as: abs(best_bound - incumbent) / abs(incumbent) [Gurobi] abs(best_bound - incumbent) / min(abs(best_bound), abs(incumbent)) [SCIP] where "incumbent" is the objective value of the best solution found so far (i.e., lowest when minimizing, highest when maximizing), and "best_bound" is the tightest bound of the objective determined so far (i.e., highest when minimizing, and lowest when maximizing). The MIP Gap is sensitive to objective offset. If the denominator is 0 the MIP Gap is INFINITY for SCIP and Gurobi. Of note, "incumbent" and "best bound" are called "primal bound" and "dual bound" in SCIP, respectively. Ask or-core-team@ for other solvers.
optional .operations_research.OptionalDouble relative_mip_gap = 1;
hasRelativeMipGap
in interface MPSolverCommonParametersOrBuilder
public OptionalDouble getRelativeMipGap()
The solver stops if the relative MIP gap reaches this value or below. The relative MIP gap is an upper bound of the relative distance to the optimum, and it is defined as: abs(best_bound - incumbent) / abs(incumbent) [Gurobi] abs(best_bound - incumbent) / min(abs(best_bound), abs(incumbent)) [SCIP] where "incumbent" is the objective value of the best solution found so far (i.e., lowest when minimizing, highest when maximizing), and "best_bound" is the tightest bound of the objective determined so far (i.e., highest when minimizing, and lowest when maximizing). The MIP Gap is sensitive to objective offset. If the denominator is 0 the MIP Gap is INFINITY for SCIP and Gurobi. Of note, "incumbent" and "best bound" are called "primal bound" and "dual bound" in SCIP, respectively. Ask or-core-team@ for other solvers.
optional .operations_research.OptionalDouble relative_mip_gap = 1;
getRelativeMipGap
in interface MPSolverCommonParametersOrBuilder
public MPSolverCommonParameters.Builder setRelativeMipGap(OptionalDouble value)
The solver stops if the relative MIP gap reaches this value or below. The relative MIP gap is an upper bound of the relative distance to the optimum, and it is defined as: abs(best_bound - incumbent) / abs(incumbent) [Gurobi] abs(best_bound - incumbent) / min(abs(best_bound), abs(incumbent)) [SCIP] where "incumbent" is the objective value of the best solution found so far (i.e., lowest when minimizing, highest when maximizing), and "best_bound" is the tightest bound of the objective determined so far (i.e., highest when minimizing, and lowest when maximizing). The MIP Gap is sensitive to objective offset. If the denominator is 0 the MIP Gap is INFINITY for SCIP and Gurobi. Of note, "incumbent" and "best bound" are called "primal bound" and "dual bound" in SCIP, respectively. Ask or-core-team@ for other solvers.
optional .operations_research.OptionalDouble relative_mip_gap = 1;
public MPSolverCommonParameters.Builder setRelativeMipGap(OptionalDouble.Builder builderForValue)
The solver stops if the relative MIP gap reaches this value or below. The relative MIP gap is an upper bound of the relative distance to the optimum, and it is defined as: abs(best_bound - incumbent) / abs(incumbent) [Gurobi] abs(best_bound - incumbent) / min(abs(best_bound), abs(incumbent)) [SCIP] where "incumbent" is the objective value of the best solution found so far (i.e., lowest when minimizing, highest when maximizing), and "best_bound" is the tightest bound of the objective determined so far (i.e., highest when minimizing, and lowest when maximizing). The MIP Gap is sensitive to objective offset. If the denominator is 0 the MIP Gap is INFINITY for SCIP and Gurobi. Of note, "incumbent" and "best bound" are called "primal bound" and "dual bound" in SCIP, respectively. Ask or-core-team@ for other solvers.
optional .operations_research.OptionalDouble relative_mip_gap = 1;
public MPSolverCommonParameters.Builder mergeRelativeMipGap(OptionalDouble value)
The solver stops if the relative MIP gap reaches this value or below. The relative MIP gap is an upper bound of the relative distance to the optimum, and it is defined as: abs(best_bound - incumbent) / abs(incumbent) [Gurobi] abs(best_bound - incumbent) / min(abs(best_bound), abs(incumbent)) [SCIP] where "incumbent" is the objective value of the best solution found so far (i.e., lowest when minimizing, highest when maximizing), and "best_bound" is the tightest bound of the objective determined so far (i.e., highest when minimizing, and lowest when maximizing). The MIP Gap is sensitive to objective offset. If the denominator is 0 the MIP Gap is INFINITY for SCIP and Gurobi. Of note, "incumbent" and "best bound" are called "primal bound" and "dual bound" in SCIP, respectively. Ask or-core-team@ for other solvers.
optional .operations_research.OptionalDouble relative_mip_gap = 1;
public MPSolverCommonParameters.Builder clearRelativeMipGap()
The solver stops if the relative MIP gap reaches this value or below. The relative MIP gap is an upper bound of the relative distance to the optimum, and it is defined as: abs(best_bound - incumbent) / abs(incumbent) [Gurobi] abs(best_bound - incumbent) / min(abs(best_bound), abs(incumbent)) [SCIP] where "incumbent" is the objective value of the best solution found so far (i.e., lowest when minimizing, highest when maximizing), and "best_bound" is the tightest bound of the objective determined so far (i.e., highest when minimizing, and lowest when maximizing). The MIP Gap is sensitive to objective offset. If the denominator is 0 the MIP Gap is INFINITY for SCIP and Gurobi. Of note, "incumbent" and "best bound" are called "primal bound" and "dual bound" in SCIP, respectively. Ask or-core-team@ for other solvers.
optional .operations_research.OptionalDouble relative_mip_gap = 1;
public OptionalDouble.Builder getRelativeMipGapBuilder()
The solver stops if the relative MIP gap reaches this value or below. The relative MIP gap is an upper bound of the relative distance to the optimum, and it is defined as: abs(best_bound - incumbent) / abs(incumbent) [Gurobi] abs(best_bound - incumbent) / min(abs(best_bound), abs(incumbent)) [SCIP] where "incumbent" is the objective value of the best solution found so far (i.e., lowest when minimizing, highest when maximizing), and "best_bound" is the tightest bound of the objective determined so far (i.e., highest when minimizing, and lowest when maximizing). The MIP Gap is sensitive to objective offset. If the denominator is 0 the MIP Gap is INFINITY for SCIP and Gurobi. Of note, "incumbent" and "best bound" are called "primal bound" and "dual bound" in SCIP, respectively. Ask or-core-team@ for other solvers.
optional .operations_research.OptionalDouble relative_mip_gap = 1;
public OptionalDoubleOrBuilder getRelativeMipGapOrBuilder()
The solver stops if the relative MIP gap reaches this value or below. The relative MIP gap is an upper bound of the relative distance to the optimum, and it is defined as: abs(best_bound - incumbent) / abs(incumbent) [Gurobi] abs(best_bound - incumbent) / min(abs(best_bound), abs(incumbent)) [SCIP] where "incumbent" is the objective value of the best solution found so far (i.e., lowest when minimizing, highest when maximizing), and "best_bound" is the tightest bound of the objective determined so far (i.e., highest when minimizing, and lowest when maximizing). The MIP Gap is sensitive to objective offset. If the denominator is 0 the MIP Gap is INFINITY for SCIP and Gurobi. Of note, "incumbent" and "best bound" are called "primal bound" and "dual bound" in SCIP, respectively. Ask or-core-team@ for other solvers.
optional .operations_research.OptionalDouble relative_mip_gap = 1;
getRelativeMipGapOrBuilder
in interface MPSolverCommonParametersOrBuilder
public boolean hasPrimalTolerance()
Tolerance for primal feasibility of basic solutions: this is the maximum allowed error in constraint satisfiability. For SCIP this includes integrality constraints. For Gurobi it does not, you need to set the custom parameter IntFeasTol.
optional .operations_research.OptionalDouble primal_tolerance = 2;
hasPrimalTolerance
in interface MPSolverCommonParametersOrBuilder
public OptionalDouble getPrimalTolerance()
Tolerance for primal feasibility of basic solutions: this is the maximum allowed error in constraint satisfiability. For SCIP this includes integrality constraints. For Gurobi it does not, you need to set the custom parameter IntFeasTol.
optional .operations_research.OptionalDouble primal_tolerance = 2;
getPrimalTolerance
in interface MPSolverCommonParametersOrBuilder
public MPSolverCommonParameters.Builder setPrimalTolerance(OptionalDouble value)
Tolerance for primal feasibility of basic solutions: this is the maximum allowed error in constraint satisfiability. For SCIP this includes integrality constraints. For Gurobi it does not, you need to set the custom parameter IntFeasTol.
optional .operations_research.OptionalDouble primal_tolerance = 2;
public MPSolverCommonParameters.Builder setPrimalTolerance(OptionalDouble.Builder builderForValue)
Tolerance for primal feasibility of basic solutions: this is the maximum allowed error in constraint satisfiability. For SCIP this includes integrality constraints. For Gurobi it does not, you need to set the custom parameter IntFeasTol.
optional .operations_research.OptionalDouble primal_tolerance = 2;
public MPSolverCommonParameters.Builder mergePrimalTolerance(OptionalDouble value)
Tolerance for primal feasibility of basic solutions: this is the maximum allowed error in constraint satisfiability. For SCIP this includes integrality constraints. For Gurobi it does not, you need to set the custom parameter IntFeasTol.
optional .operations_research.OptionalDouble primal_tolerance = 2;
public MPSolverCommonParameters.Builder clearPrimalTolerance()
Tolerance for primal feasibility of basic solutions: this is the maximum allowed error in constraint satisfiability. For SCIP this includes integrality constraints. For Gurobi it does not, you need to set the custom parameter IntFeasTol.
optional .operations_research.OptionalDouble primal_tolerance = 2;
public OptionalDouble.Builder getPrimalToleranceBuilder()
Tolerance for primal feasibility of basic solutions: this is the maximum allowed error in constraint satisfiability. For SCIP this includes integrality constraints. For Gurobi it does not, you need to set the custom parameter IntFeasTol.
optional .operations_research.OptionalDouble primal_tolerance = 2;
public OptionalDoubleOrBuilder getPrimalToleranceOrBuilder()
Tolerance for primal feasibility of basic solutions: this is the maximum allowed error in constraint satisfiability. For SCIP this includes integrality constraints. For Gurobi it does not, you need to set the custom parameter IntFeasTol.
optional .operations_research.OptionalDouble primal_tolerance = 2;
getPrimalToleranceOrBuilder
in interface MPSolverCommonParametersOrBuilder
public boolean hasDualTolerance()
Tolerance for dual feasibility. For SCIP and Gurobi this is the feasibility tolerance for reduced costs in LP solution: reduced costs must all be smaller than this value in the improving direction in order for a model to be declared optimal. Not supported for other solvers.
optional .operations_research.OptionalDouble dual_tolerance = 3;
hasDualTolerance
in interface MPSolverCommonParametersOrBuilder
public OptionalDouble getDualTolerance()
Tolerance for dual feasibility. For SCIP and Gurobi this is the feasibility tolerance for reduced costs in LP solution: reduced costs must all be smaller than this value in the improving direction in order for a model to be declared optimal. Not supported for other solvers.
optional .operations_research.OptionalDouble dual_tolerance = 3;
getDualTolerance
in interface MPSolverCommonParametersOrBuilder
public MPSolverCommonParameters.Builder setDualTolerance(OptionalDouble value)
Tolerance for dual feasibility. For SCIP and Gurobi this is the feasibility tolerance for reduced costs in LP solution: reduced costs must all be smaller than this value in the improving direction in order for a model to be declared optimal. Not supported for other solvers.
optional .operations_research.OptionalDouble dual_tolerance = 3;
public MPSolverCommonParameters.Builder setDualTolerance(OptionalDouble.Builder builderForValue)
Tolerance for dual feasibility. For SCIP and Gurobi this is the feasibility tolerance for reduced costs in LP solution: reduced costs must all be smaller than this value in the improving direction in order for a model to be declared optimal. Not supported for other solvers.
optional .operations_research.OptionalDouble dual_tolerance = 3;
public MPSolverCommonParameters.Builder mergeDualTolerance(OptionalDouble value)
Tolerance for dual feasibility. For SCIP and Gurobi this is the feasibility tolerance for reduced costs in LP solution: reduced costs must all be smaller than this value in the improving direction in order for a model to be declared optimal. Not supported for other solvers.
optional .operations_research.OptionalDouble dual_tolerance = 3;
public MPSolverCommonParameters.Builder clearDualTolerance()
Tolerance for dual feasibility. For SCIP and Gurobi this is the feasibility tolerance for reduced costs in LP solution: reduced costs must all be smaller than this value in the improving direction in order for a model to be declared optimal. Not supported for other solvers.
optional .operations_research.OptionalDouble dual_tolerance = 3;
public OptionalDouble.Builder getDualToleranceBuilder()
Tolerance for dual feasibility. For SCIP and Gurobi this is the feasibility tolerance for reduced costs in LP solution: reduced costs must all be smaller than this value in the improving direction in order for a model to be declared optimal. Not supported for other solvers.
optional .operations_research.OptionalDouble dual_tolerance = 3;
public OptionalDoubleOrBuilder getDualToleranceOrBuilder()
Tolerance for dual feasibility. For SCIP and Gurobi this is the feasibility tolerance for reduced costs in LP solution: reduced costs must all be smaller than this value in the improving direction in order for a model to be declared optimal. Not supported for other solvers.
optional .operations_research.OptionalDouble dual_tolerance = 3;
getDualToleranceOrBuilder
in interface MPSolverCommonParametersOrBuilder
public boolean hasLpAlgorithm()
Algorithm to solve linear programs. Ask or-core-team@ if you want to know what this does exactly.
optional .operations_research.MPSolverCommonParameters.LPAlgorithmValues lp_algorithm = 4 [default = LP_ALGO_UNSPECIFIED];
hasLpAlgorithm
in interface MPSolverCommonParametersOrBuilder
public MPSolverCommonParameters.LPAlgorithmValues getLpAlgorithm()
Algorithm to solve linear programs. Ask or-core-team@ if you want to know what this does exactly.
optional .operations_research.MPSolverCommonParameters.LPAlgorithmValues lp_algorithm = 4 [default = LP_ALGO_UNSPECIFIED];
getLpAlgorithm
in interface MPSolverCommonParametersOrBuilder
public MPSolverCommonParameters.Builder setLpAlgorithm(MPSolverCommonParameters.LPAlgorithmValues value)
Algorithm to solve linear programs. Ask or-core-team@ if you want to know what this does exactly.
optional .operations_research.MPSolverCommonParameters.LPAlgorithmValues lp_algorithm = 4 [default = LP_ALGO_UNSPECIFIED];
value
- The lpAlgorithm to set.public MPSolverCommonParameters.Builder clearLpAlgorithm()
Algorithm to solve linear programs. Ask or-core-team@ if you want to know what this does exactly.
optional .operations_research.MPSolverCommonParameters.LPAlgorithmValues lp_algorithm = 4 [default = LP_ALGO_UNSPECIFIED];
public boolean hasPresolve()
Gurobi and SCIP enable presolve by default. Ask or-core-team@ for other solvers.
optional .operations_research.OptionalBoolean presolve = 5 [default = BOOL_UNSPECIFIED];
hasPresolve
in interface MPSolverCommonParametersOrBuilder
public OptionalBoolean getPresolve()
Gurobi and SCIP enable presolve by default. Ask or-core-team@ for other solvers.
optional .operations_research.OptionalBoolean presolve = 5 [default = BOOL_UNSPECIFIED];
getPresolve
in interface MPSolverCommonParametersOrBuilder
public MPSolverCommonParameters.Builder setPresolve(OptionalBoolean value)
Gurobi and SCIP enable presolve by default. Ask or-core-team@ for other solvers.
optional .operations_research.OptionalBoolean presolve = 5 [default = BOOL_UNSPECIFIED];
value
- The presolve to set.public MPSolverCommonParameters.Builder clearPresolve()
Gurobi and SCIP enable presolve by default. Ask or-core-team@ for other solvers.
optional .operations_research.OptionalBoolean presolve = 5 [default = BOOL_UNSPECIFIED];
public boolean hasScaling()
Enable automatic scaling of matrix coefficients and objective. Available for Gurobi and GLOP. Ask or-core-team@ if you want more details.
optional .operations_research.OptionalBoolean scaling = 7 [default = BOOL_UNSPECIFIED];
hasScaling
in interface MPSolverCommonParametersOrBuilder
public OptionalBoolean getScaling()
Enable automatic scaling of matrix coefficients and objective. Available for Gurobi and GLOP. Ask or-core-team@ if you want more details.
optional .operations_research.OptionalBoolean scaling = 7 [default = BOOL_UNSPECIFIED];
getScaling
in interface MPSolverCommonParametersOrBuilder
public MPSolverCommonParameters.Builder setScaling(OptionalBoolean value)
Enable automatic scaling of matrix coefficients and objective. Available for Gurobi and GLOP. Ask or-core-team@ if you want more details.
optional .operations_research.OptionalBoolean scaling = 7 [default = BOOL_UNSPECIFIED];
value
- The scaling to set.public MPSolverCommonParameters.Builder clearScaling()
Enable automatic scaling of matrix coefficients and objective. Available for Gurobi and GLOP. Ask or-core-team@ if you want more details.
optional .operations_research.OptionalBoolean scaling = 7 [default = BOOL_UNSPECIFIED];
Copyright © 2025. All rights reserved.