Uses of Class
com.google.ortools.sat.CpModelProto.Builder
Packages that use CpModelProto.Builder
-
Uses of CpModelProto.Builder in com.google.ortools.sat
Subclasses with type arguments of type CpModelProto.Builder in com.google.ortools.satModifier and TypeClassDescriptionstatic final class
A constraint programming problem.Fields in com.google.ortools.sat declared as CpModelProto.BuilderMethods in com.google.ortools.sat that return CpModelProto.BuilderModifier and TypeMethodDescriptionCpModelProto.Builder.addAllAssumptions
(Iterable<? extends Integer> values) A list of literals.CpModelProto.Builder.addAllConstraints
(Iterable<? extends ConstraintProto> values) repeated .operations_research.sat.ConstraintProto constraints = 3;
CpModelProto.Builder.addAllSearchStrategy
(Iterable<? extends DecisionStrategyProto> values) Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.CpModelProto.Builder.addAllVariables
(Iterable<? extends IntegerVariableProto> values) The associated Protos should be referred by their index in these fields.CpModelProto.Builder.addAssumptions
(int value) A list of literals.CpModelProto.Builder.addConstraints
(int index, ConstraintProto value) repeated .operations_research.sat.ConstraintProto constraints = 3;
CpModelProto.Builder.addConstraints
(int index, ConstraintProto.Builder builderForValue) repeated .operations_research.sat.ConstraintProto constraints = 3;
CpModelProto.Builder.addConstraints
(ConstraintProto value) repeated .operations_research.sat.ConstraintProto constraints = 3;
CpModelProto.Builder.addConstraints
(ConstraintProto.Builder builderForValue) repeated .operations_research.sat.ConstraintProto constraints = 3;
CpModelProto.Builder.addSearchStrategy
(int index, DecisionStrategyProto value) Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.CpModelProto.Builder.addSearchStrategy
(int index, DecisionStrategyProto.Builder builderForValue) Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.CpModelProto.Builder.addSearchStrategy
(DecisionStrategyProto value) Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.CpModelProto.Builder.addSearchStrategy
(DecisionStrategyProto.Builder builderForValue) Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.CpModelProto.Builder.addVariables
(int index, IntegerVariableProto value) The associated Protos should be referred by their index in these fields.CpModelProto.Builder.addVariables
(int index, IntegerVariableProto.Builder builderForValue) The associated Protos should be referred by their index in these fields.CpModelProto.Builder.addVariables
(IntegerVariableProto value) The associated Protos should be referred by their index in these fields.CpModelProto.Builder.addVariables
(IntegerVariableProto.Builder builderForValue) The associated Protos should be referred by their index in these fields.CpModelProto.Builder.clear()
CpModelProto.Builder.clearAssumptions()
A list of literals.CpModelProto.Builder.clearConstraints()
repeated .operations_research.sat.ConstraintProto constraints = 3;
CpModelProto.Builder.clearFloatingPointObjective()
Advanced usage.CpModelProto.Builder.clearName()
For debug/logging only.CpModelProto.Builder.clearObjective()
The objective to minimize.CpModelProto.Builder.clearSearchStrategy()
Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.CpModelProto.Builder.clearSolutionHint()
Solution hint.CpModelProto.Builder.clearSymmetry()
For now, this is not meant to be filled by a client writing a model, but by our preprocessing step.CpModelProto.Builder.clearVariables()
The associated Protos should be referred by their index in these fields.CpModel.getBuilder()
Returns the model builder.CpModelProto.Builder.mergeFloatingPointObjective
(FloatObjectiveProto value) Advanced usage.CpModelProto.Builder.mergeFrom
(CpModelProto other) CpModelProto.Builder.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) CpModelProto.Builder.mergeFrom
(com.google.protobuf.Message other) CpModelProto.Builder.mergeObjective
(CpObjectiveProto value) The objective to minimize.CpModelProto.Builder.mergeSolutionHint
(PartialVariableAssignment value) Solution hint.CpModelProto.Builder.mergeSymmetry
(SymmetryProto value) For now, this is not meant to be filled by a client writing a model, but by our preprocessing step.static CpModelProto.Builder
CpModelProto.newBuilder()
static CpModelProto.Builder
CpModelProto.newBuilder
(CpModelProto prototype) CpModelProto.newBuilderForType()
protected CpModelProto.Builder
CpModelProto.newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) CpModelProto.Builder.removeConstraints
(int index) repeated .operations_research.sat.ConstraintProto constraints = 3;
CpModelProto.Builder.removeSearchStrategy
(int index) Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.CpModelProto.Builder.removeVariables
(int index) The associated Protos should be referred by their index in these fields.CpModelProto.Builder.setAssumptions
(int index, int value) A list of literals.CpModelProto.Builder.setConstraints
(int index, ConstraintProto value) repeated .operations_research.sat.ConstraintProto constraints = 3;
CpModelProto.Builder.setConstraints
(int index, ConstraintProto.Builder builderForValue) repeated .operations_research.sat.ConstraintProto constraints = 3;
CpModelProto.Builder.setFloatingPointObjective
(FloatObjectiveProto value) Advanced usage.CpModelProto.Builder.setFloatingPointObjective
(FloatObjectiveProto.Builder builderForValue) Advanced usage.For debug/logging only.CpModelProto.Builder.setNameBytes
(com.google.protobuf.ByteString value) For debug/logging only.CpModelProto.Builder.setObjective
(CpObjectiveProto value) The objective to minimize.CpModelProto.Builder.setObjective
(CpObjectiveProto.Builder builderForValue) The objective to minimize.CpModelProto.Builder.setSearchStrategy
(int index, DecisionStrategyProto value) Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.CpModelProto.Builder.setSearchStrategy
(int index, DecisionStrategyProto.Builder builderForValue) Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.CpModelProto.Builder.setSolutionHint
(PartialVariableAssignment value) Solution hint.CpModelProto.Builder.setSolutionHint
(PartialVariableAssignment.Builder builderForValue) Solution hint.CpModelProto.Builder.setSymmetry
(SymmetryProto value) For now, this is not meant to be filled by a client writing a model, but by our preprocessing step.CpModelProto.Builder.setSymmetry
(SymmetryProto.Builder builderForValue) For now, this is not meant to be filled by a client writing a model, but by our preprocessing step.CpModelProto.Builder.setVariables
(int index, IntegerVariableProto value) The associated Protos should be referred by their index in these fields.CpModelProto.Builder.setVariables
(int index, IntegerVariableProto.Builder builderForValue) The associated Protos should be referred by their index in these fields.CpModelProto.toBuilder()
Constructors in com.google.ortools.sat with parameters of type CpModelProto.BuilderModifierConstructorDescriptionAutomatonConstraint
(CpModelProto.Builder builder) CircuitConstraint
(CpModelProto.Builder builder) Constraint
(CpModelProto.Builder builder) TableConstraint
(CpModelProto.Builder builder) -
Uses of CpModelProto.Builder in com.google.ortools.sat.v1
Methods in com.google.ortools.sat.v1 that return CpModelProto.BuilderMethods in com.google.ortools.sat.v1 with parameters of type CpModelProto.BuilderModifier and TypeMethodDescriptionCpSolverRequest.Builder.setModel
(CpModelProto.Builder builderForValue) The model to solve.