5package com.google.ortools.linearsolver;
20 com.google.protobuf.GeneratedMessage implements
23private static final long serialVersionUID = 0L;
25 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
26 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
43 public static final com.google.protobuf.Descriptors.Descriptor
45 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPSolverCommonParameters_descriptor;
49 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
51 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPSolverCommonParameters_fieldAccessorTable
52 .ensureFieldAccessorsInitialized(
53 com.google.ortools.linearsolver.MPSolverCommonParameters.class, com.google.ortools.linearsolver.MPSolverCommonParameters.Builder.class);
60 implements com.google.protobuf.ProtocolMessageEnum {
92 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
93 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
103 public static final int LP_ALGO_UNSPECIFIED_VALUE = 0;
111 public static final int LP_ALGO_DUAL_VALUE = 1;
119 public static final int LP_ALGO_PRIMAL_VALUE = 2;
127 public static final int LP_ALGO_BARRIER_VALUE = 3;
139 @java.lang.Deprecated
141 return forNumber(value);
150 case 0:
return LP_ALGO_UNSPECIFIED;
151 case 1:
return LP_ALGO_DUAL;
152 case 2:
return LP_ALGO_PRIMAL;
153 case 3:
return LP_ALGO_BARRIER;
154 default:
return null;
160 return internalValueMap;
162 private static final com.google.protobuf.Internal.EnumLiteMap<
170 public final com.google.protobuf.Descriptors.EnumValueDescriptor
174 public final com.google.protobuf.Descriptors.EnumDescriptor
178 public static final com.google.protobuf.Descriptors.EnumDescriptor
180 return com.google.ortools.linearsolver.MPSolverCommonParameters.getDescriptor().getEnumTypes().get(0);
186 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
188 throw new java.lang.IllegalArgumentException(
189 "EnumValueDescriptor is not for this type.");
191 return VALUES[desc.getIndex()];
194 private final int value;
203 private int bitField0_;
230 return ((bitField0_ & 0x00000001) != 0);
256 return relativeMipGap_ ==
null ? com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance() : relativeMipGap_;
281 return relativeMipGap_ ==
null ? com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance() : relativeMipGap_;
299 return ((bitField0_ & 0x00000002) != 0);
314 return primalTolerance_ ==
null ? com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance() : primalTolerance_;
328 return primalTolerance_ ==
null ? com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance() : primalTolerance_;
347 return ((bitField0_ & 0x00000004) != 0);
363 return dualTolerance_ ==
null ? com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance() : dualTolerance_;
378 return dualTolerance_ ==
null ? com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance() : dualTolerance_;
382 private int lpAlgorithm_ = 0;
393 return ((bitField0_ & 0x00000008) != 0);
406 return result ==
null ? com.google.ortools.linearsolver.MPSolverCommonParameters.LPAlgorithmValues.LP_ALGO_UNSPECIFIED : result;
410 private int presolve_ = 0;
421 return ((bitField0_ & 0x00000010) != 0);
434 return result ==
null ? com.google.ortools.util.OptionalBoolean.BOOL_UNSPECIFIED : result;
438 private int scaling_ = 0;
450 return ((bitField0_ & 0x00000020) != 0);
464 return result ==
null ? com.google.ortools.util.OptionalBoolean.BOOL_UNSPECIFIED : result;
467 private byte memoizedIsInitialized = -1;
474 memoizedIsInitialized = 1;
479 public void writeTo(com.google.protobuf.CodedOutputStream output)
480 throws java.io.IOException {
481 if (((bitField0_ & 0x00000001) != 0)) {
484 if (((bitField0_ & 0x00000002) != 0)) {
487 if (((bitField0_ & 0x00000004) != 0)) {
490 if (((bitField0_ & 0x00000008) != 0)) {
491 output.writeEnum(4, lpAlgorithm_);
493 if (((bitField0_ & 0x00000010) != 0)) {
494 output.writeEnum(5, presolve_);
496 if (((bitField0_ & 0x00000020) != 0)) {
497 output.writeEnum(7, scaling_);
499 getUnknownFields().writeTo(output);
504 int size = memoizedSize;
505 if (size != -1)
return size;
508 if (((bitField0_ & 0x00000001) != 0)) {
509 size += com.google.protobuf.CodedOutputStream
512 if (((bitField0_ & 0x00000002) != 0)) {
513 size += com.google.protobuf.CodedOutputStream
516 if (((bitField0_ & 0x00000004) != 0)) {
517 size += com.google.protobuf.CodedOutputStream
520 if (((bitField0_ & 0x00000008) != 0)) {
521 size += com.google.protobuf.CodedOutputStream
522 .computeEnumSize(4, lpAlgorithm_);
524 if (((bitField0_ & 0x00000010) != 0)) {
525 size += com.google.protobuf.CodedOutputStream
526 .computeEnumSize(5, presolve_);
528 if (((bitField0_ & 0x00000020) != 0)) {
529 size += com.google.protobuf.CodedOutputStream
530 .computeEnumSize(7, scaling_);
532 size += getUnknownFields().getSerializedSize();
538 public boolean equals(
final java.lang.Object obj) {
542 if (!(obj instanceof com.google.ortools.linearsolver.MPSolverCommonParameters)) {
543 return super.equals(obj);
564 if (lpAlgorithm_ != other.lpAlgorithm_)
return false;
568 if (presolve_ != other.presolve_)
return false;
572 if (scaling_ != other.scaling_)
return false;
574 if (!getUnknownFields().
equals(other.getUnknownFields()))
return false;
580 if (memoizedHashCode != 0) {
581 return memoizedHashCode;
599 hash = (53 * hash) + lpAlgorithm_;
603 hash = (53 * hash) + presolve_;
607 hash = (53 * hash) + scaling_;
609 hash = (29 * hash) + getUnknownFields().hashCode();
610 memoizedHashCode = hash;
615 java.nio.ByteBuffer data)
616 throws com.google.protobuf.InvalidProtocolBufferException {
617 return PARSER.parseFrom(data);
620 java.nio.ByteBuffer data,
621 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
622 throws com.google.protobuf.InvalidProtocolBufferException {
623 return PARSER.parseFrom(data, extensionRegistry);
626 com.google.protobuf.ByteString data)
627 throws com.google.protobuf.InvalidProtocolBufferException {
628 return PARSER.parseFrom(data);
631 com.google.protobuf.ByteString data,
632 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
633 throws com.google.protobuf.InvalidProtocolBufferException {
634 return PARSER.parseFrom(data, extensionRegistry);
637 throws com.google.protobuf.InvalidProtocolBufferException {
638 return PARSER.parseFrom(data);
642 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
643 throws com.google.protobuf.InvalidProtocolBufferException {
644 return PARSER.parseFrom(data, extensionRegistry);
647 throws java.io.IOException {
648 return com.google.protobuf.GeneratedMessage
649 .parseWithIOException(PARSER, input);
652 java.io.InputStream input,
653 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
654 throws java.io.IOException {
655 return com.google.protobuf.GeneratedMessage
656 .parseWithIOException(PARSER, input, extensionRegistry);
660 throws java.io.IOException {
661 return com.google.protobuf.GeneratedMessage
662 .parseDelimitedWithIOException(PARSER, input);
666 java.io.InputStream input,
667 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
668 throws java.io.IOException {
669 return com.google.protobuf.GeneratedMessage
670 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
673 com.google.protobuf.CodedInputStream input)
674 throws java.io.IOException {
675 return com.google.protobuf.GeneratedMessage
676 .parseWithIOException(PARSER, input);
679 com.google.protobuf.CodedInputStream input,
680 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
681 throws java.io.IOException {
682 return com.google.protobuf.GeneratedMessage
683 .parseWithIOException(PARSER, input, extensionRegistry);
691 public static Builder newBuilder(com.google.ortools.linearsolver.MPSolverCommonParameters prototype) {
696 return this == DEFAULT_INSTANCE
702 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
719 com.google.protobuf.GeneratedMessage.
Builder<Builder> implements
722 public static final com.google.protobuf.Descriptors.Descriptor
724 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPSolverCommonParameters_descriptor;
728 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
730 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPSolverCommonParameters_fieldAccessorTable
731 .ensureFieldAccessorsInitialized(
732 com.google.ortools.linearsolver.MPSolverCommonParameters.class, com.google.ortools.linearsolver.MPSolverCommonParameters.Builder.class);
737 maybeForceBuilderInitialization();
741 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
743 maybeForceBuilderInitialization();
745 private void maybeForceBuilderInitialization() {
746 if (com.google.protobuf.GeneratedMessage
747 .alwaysUseFieldBuilders) {
748 getRelativeMipGapFieldBuilder();
749 getPrimalToleranceFieldBuilder();
750 getDualToleranceFieldBuilder();
757 relativeMipGap_ =
null;
758 if (relativeMipGapBuilder_ !=
null) {
759 relativeMipGapBuilder_.dispose();
760 relativeMipGapBuilder_ =
null;
762 primalTolerance_ =
null;
763 if (primalToleranceBuilder_ !=
null) {
764 primalToleranceBuilder_.dispose();
765 primalToleranceBuilder_ =
null;
767 dualTolerance_ =
null;
768 if (dualToleranceBuilder_ !=
null) {
769 dualToleranceBuilder_.dispose();
770 dualToleranceBuilder_ =
null;
779 public com.google.protobuf.Descriptors.Descriptor
781 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPSolverCommonParameters_descriptor;
786 return com.google.ortools.linearsolver.MPSolverCommonParameters.getDefaultInstance();
793 throw newUninitializedMessageException(result);
801 if (bitField0_ != 0) { buildPartial0(result); }
806 private void buildPartial0(com.google.ortools.linearsolver.MPSolverCommonParameters result) {
807 int from_bitField0_ = bitField0_;
808 int to_bitField0_ = 0;
809 if (((from_bitField0_ & 0x00000001) != 0)) {
810 result.relativeMipGap_ = relativeMipGapBuilder_ ==
null
812 : relativeMipGapBuilder_.build();
813 to_bitField0_ |= 0x00000001;
815 if (((from_bitField0_ & 0x00000002) != 0)) {
816 result.primalTolerance_ = primalToleranceBuilder_ ==
null
818 : primalToleranceBuilder_.build();
819 to_bitField0_ |= 0x00000002;
821 if (((from_bitField0_ & 0x00000004) != 0)) {
822 result.dualTolerance_ = dualToleranceBuilder_ ==
null
824 : dualToleranceBuilder_.build();
825 to_bitField0_ |= 0x00000004;
827 if (((from_bitField0_ & 0x00000008) != 0)) {
828 result.lpAlgorithm_ = lpAlgorithm_;
829 to_bitField0_ |= 0x00000008;
831 if (((from_bitField0_ & 0x00000010) != 0)) {
832 result.presolve_ = presolve_;
833 to_bitField0_ |= 0x00000010;
835 if (((from_bitField0_ & 0x00000020) != 0)) {
836 result.scaling_ = scaling_;
837 to_bitField0_ |= 0x00000020;
839 result.bitField0_ |= to_bitField0_;
844 if (other instanceof com.google.ortools.linearsolver.MPSolverCommonParameters) {
845 return mergeFrom((com.google.ortools.linearsolver.MPSolverCommonParameters)other);
847 super.mergeFrom(other);
853 if (other == com.google.ortools.linearsolver.MPSolverCommonParameters.getDefaultInstance())
return this;
854 if (other.hasRelativeMipGap()) {
857 if (other.hasPrimalTolerance()) {
860 if (other.hasDualTolerance()) {
863 if (other.hasLpAlgorithm()) {
866 if (other.hasPresolve()) {
869 if (other.hasScaling()) {
872 this.mergeUnknownFields(other.getUnknownFields());
884 com.google.protobuf.CodedInputStream input,
885 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
886 throws java.io.IOException {
887 if (extensionRegistry ==
null) {
888 throw new java.lang.NullPointerException();
891 boolean done =
false;
893 int tag = input.readTag();
900 getRelativeMipGapFieldBuilder().getBuilder(),
902 bitField0_ |= 0x00000001;
907 getPrimalToleranceFieldBuilder().getBuilder(),
909 bitField0_ |= 0x00000002;
914 getDualToleranceFieldBuilder().getBuilder(),
916 bitField0_ |= 0x00000004;
920 int tmpRaw = input.readEnum();
922 com.google.ortools.linearsolver.MPSolverCommonParameters.LPAlgorithmValues.forNumber(tmpRaw);
923 if (tmpValue ==
null) {
924 mergeUnknownVarintField(4, tmpRaw);
926 lpAlgorithm_ = tmpRaw;
927 bitField0_ |= 0x00000008;
932 int tmpRaw = input.readEnum();
934 com.google.ortools.util.OptionalBoolean.forNumber(tmpRaw);
935 if (tmpValue ==
null) {
936 mergeUnknownVarintField(5, tmpRaw);
939 bitField0_ |= 0x00000010;
944 int tmpRaw = input.readEnum();
946 com.google.ortools.util.OptionalBoolean.forNumber(tmpRaw);
947 if (tmpValue ==
null) {
948 mergeUnknownVarintField(7, tmpRaw);
951 bitField0_ |= 0x00000020;
956 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
963 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
964 throw e.unwrapIOException();
970 private int bitField0_;
973 private com.google.protobuf.SingleFieldBuilder<
974 com.google.ortools.linearsolver.OptionalDouble, com.google.ortools.linearsolver.OptionalDouble.Builder, com.google.ortools.linearsolver.OptionalDoubleOrBuilder> relativeMipGapBuilder_;
998 return ((bitField0_ & 0x00000001) != 0);
1023 if (relativeMipGapBuilder_ ==
null) {
1024 return relativeMipGap_ ==
null ? com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance() : relativeMipGap_;
1026 return relativeMipGapBuilder_.getMessage();
1051 if (relativeMipGapBuilder_ ==
null) {
1052 if (value ==
null) {
1053 throw new NullPointerException();
1055 relativeMipGap_ = value;
1057 relativeMipGapBuilder_.setMessage(value);
1059 bitField0_ |= 0x00000001;
1085 com.google.ortools.linearsolver.OptionalDouble.Builder builderForValue) {
1086 if (relativeMipGapBuilder_ ==
null) {
1087 relativeMipGap_ = builderForValue.build();
1089 relativeMipGapBuilder_.setMessage(builderForValue.build());
1091 bitField0_ |= 0x00000001;
1117 if (relativeMipGapBuilder_ ==
null) {
1118 if (((bitField0_ & 0x00000001) != 0) &&
1119 relativeMipGap_ !=
null &&
1120 relativeMipGap_ != com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance()) {
1123 relativeMipGap_ = value;
1126 relativeMipGapBuilder_.mergeFrom(value);
1128 if (relativeMipGap_ !=
null) {
1129 bitField0_ |= 0x00000001;
1156 bitField0_ = (bitField0_ & ~0x00000001);
1157 relativeMipGap_ =
null;
1158 if (relativeMipGapBuilder_ !=
null) {
1159 relativeMipGapBuilder_.dispose();
1160 relativeMipGapBuilder_ =
null;
1187 bitField0_ |= 0x00000001;
1189 return getRelativeMipGapFieldBuilder().getBuilder();
1213 if (relativeMipGapBuilder_ !=
null) {
1214 return relativeMipGapBuilder_.getMessageOrBuilder();
1216 return relativeMipGap_ ==
null ?
1217 com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance() : relativeMipGap_;
1241 private com.google.protobuf.SingleFieldBuilder<
1242 com.google.ortools.linearsolver.OptionalDouble, com.google.ortools.linearsolver.OptionalDouble.Builder, com.google.ortools.linearsolver.OptionalDoubleOrBuilder>
1243 getRelativeMipGapFieldBuilder() {
1244 if (relativeMipGapBuilder_ ==
null) {
1245 relativeMipGapBuilder_ =
new com.google.protobuf.SingleFieldBuilder<
1246 com.google.ortools.linearsolver.OptionalDouble, com.google.ortools.linearsolver.OptionalDouble.Builder, com.google.ortools.linearsolver.OptionalDoubleOrBuilder>(
1248 getParentForChildren(),
1250 relativeMipGap_ =
null;
1252 return relativeMipGapBuilder_;
1256 private com.google.protobuf.SingleFieldBuilder<
1257 com.google.ortools.linearsolver.OptionalDouble, com.google.ortools.linearsolver.OptionalDouble.Builder, com.google.ortools.linearsolver.OptionalDoubleOrBuilder> primalToleranceBuilder_;
1270 return ((bitField0_ & 0x00000002) != 0);
1284 if (primalToleranceBuilder_ ==
null) {
1285 return primalTolerance_ ==
null ? com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance() : primalTolerance_;
1287 return primalToleranceBuilder_.getMessage();
1301 if (primalToleranceBuilder_ ==
null) {
1302 if (value ==
null) {
1303 throw new NullPointerException();
1305 primalTolerance_ = value;
1307 primalToleranceBuilder_.setMessage(value);
1309 bitField0_ |= 0x00000002;
1324 com.google.ortools.linearsolver.OptionalDouble.Builder builderForValue) {
1325 if (primalToleranceBuilder_ ==
null) {
1326 primalTolerance_ = builderForValue.build();
1328 primalToleranceBuilder_.setMessage(builderForValue.build());
1330 bitField0_ |= 0x00000002;
1345 if (primalToleranceBuilder_ ==
null) {
1346 if (((bitField0_ & 0x00000002) != 0) &&
1347 primalTolerance_ !=
null &&
1348 primalTolerance_ != com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance()) {
1351 primalTolerance_ = value;
1354 primalToleranceBuilder_.mergeFrom(value);
1356 if (primalTolerance_ !=
null) {
1357 bitField0_ |= 0x00000002;
1373 bitField0_ = (bitField0_ & ~0x00000002);
1374 primalTolerance_ =
null;
1375 if (primalToleranceBuilder_ !=
null) {
1376 primalToleranceBuilder_.dispose();
1377 primalToleranceBuilder_ =
null;
1393 bitField0_ |= 0x00000002;
1395 return getPrimalToleranceFieldBuilder().getBuilder();
1408 if (primalToleranceBuilder_ !=
null) {
1409 return primalToleranceBuilder_.getMessageOrBuilder();
1411 return primalTolerance_ ==
null ?
1412 com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance() : primalTolerance_;
1425 private com.google.protobuf.SingleFieldBuilder<
1426 com.google.ortools.linearsolver.OptionalDouble, com.google.ortools.linearsolver.OptionalDouble.Builder, com.google.ortools.linearsolver.OptionalDoubleOrBuilder>
1427 getPrimalToleranceFieldBuilder() {
1428 if (primalToleranceBuilder_ ==
null) {
1429 primalToleranceBuilder_ =
new com.google.protobuf.SingleFieldBuilder<
1430 com.google.ortools.linearsolver.OptionalDouble, com.google.ortools.linearsolver.OptionalDouble.Builder, com.google.ortools.linearsolver.OptionalDoubleOrBuilder>(
1432 getParentForChildren(),
1434 primalTolerance_ =
null;
1436 return primalToleranceBuilder_;
1440 private com.google.protobuf.SingleFieldBuilder<
1441 com.google.ortools.linearsolver.OptionalDouble, com.google.ortools.linearsolver.OptionalDouble.Builder, com.google.ortools.linearsolver.OptionalDoubleOrBuilder> dualToleranceBuilder_;
1455 return ((bitField0_ & 0x00000004) != 0);
1470 if (dualToleranceBuilder_ ==
null) {
1471 return dualTolerance_ ==
null ? com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance() : dualTolerance_;
1473 return dualToleranceBuilder_.getMessage();
1488 if (dualToleranceBuilder_ ==
null) {
1489 if (value ==
null) {
1490 throw new NullPointerException();
1492 dualTolerance_ = value;
1494 dualToleranceBuilder_.setMessage(value);
1496 bitField0_ |= 0x00000004;
1512 com.google.ortools.linearsolver.OptionalDouble.Builder builderForValue) {
1513 if (dualToleranceBuilder_ ==
null) {
1514 dualTolerance_ = builderForValue.build();
1516 dualToleranceBuilder_.setMessage(builderForValue.build());
1518 bitField0_ |= 0x00000004;
1534 if (dualToleranceBuilder_ ==
null) {
1535 if (((bitField0_ & 0x00000004) != 0) &&
1536 dualTolerance_ !=
null &&
1537 dualTolerance_ != com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance()) {
1540 dualTolerance_ = value;
1543 dualToleranceBuilder_.mergeFrom(value);
1545 if (dualTolerance_ !=
null) {
1546 bitField0_ |= 0x00000004;
1563 bitField0_ = (bitField0_ & ~0x00000004);
1564 dualTolerance_ =
null;
1565 if (dualToleranceBuilder_ !=
null) {
1566 dualToleranceBuilder_.dispose();
1567 dualToleranceBuilder_ =
null;
1584 bitField0_ |= 0x00000004;
1586 return getDualToleranceFieldBuilder().getBuilder();
1600 if (dualToleranceBuilder_ !=
null) {
1601 return dualToleranceBuilder_.getMessageOrBuilder();
1603 return dualTolerance_ ==
null ?
1604 com.google.ortools.linearsolver.OptionalDouble.getDefaultInstance() : dualTolerance_;
1618 private com.google.protobuf.SingleFieldBuilder<
1619 com.google.ortools.linearsolver.OptionalDouble, com.google.ortools.linearsolver.OptionalDouble.Builder, com.google.ortools.linearsolver.OptionalDoubleOrBuilder>
1620 getDualToleranceFieldBuilder() {
1621 if (dualToleranceBuilder_ ==
null) {
1622 dualToleranceBuilder_ =
new com.google.protobuf.SingleFieldBuilder<
1623 com.google.ortools.linearsolver.OptionalDouble, com.google.ortools.linearsolver.OptionalDouble.Builder, com.google.ortools.linearsolver.OptionalDoubleOrBuilder>(
1625 getParentForChildren(),
1627 dualTolerance_ =
null;
1629 return dualToleranceBuilder_;
1632 private int lpAlgorithm_ = 0;
1643 return ((bitField0_ & 0x00000008) != 0);
1657 return result ==
null ? com.google.ortools.linearsolver.MPSolverCommonParameters.LPAlgorithmValues.LP_ALGO_UNSPECIFIED : result;
1670 if (value ==
null) {
1671 throw new NullPointerException();
1673 bitField0_ |= 0x00000008;
1674 lpAlgorithm_ = value.getNumber();
1688 bitField0_ = (bitField0_ & ~0x00000008);
1694 private int presolve_ = 0;
1705 return ((bitField0_ & 0x00000010) != 0);
1719 return result ==
null ? com.google.ortools.util.OptionalBoolean.BOOL_UNSPECIFIED : result;
1732 if (value ==
null) {
1733 throw new NullPointerException();
1735 bitField0_ |= 0x00000010;
1736 presolve_ = value.getNumber();
1750 bitField0_ = (bitField0_ & ~0x00000010);
1756 private int scaling_ = 0;
1768 return ((bitField0_ & 0x00000020) != 0);
1783 return result ==
null ? com.google.ortools.util.OptionalBoolean.BOOL_UNSPECIFIED : result;
1797 if (value ==
null) {
1798 throw new NullPointerException();
1800 bitField0_ |= 0x00000020;
1801 scaling_ = value.getNumber();
1816 bitField0_ = (bitField0_ & ~0x00000020);
1828 DEFAULT_INSTANCE =
new com.google.ortools.linearsolver.MPSolverCommonParameters();
1832 return DEFAULT_INSTANCE;
1839 com.google.protobuf.CodedInputStream input,
1840 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1841 throws com.google.protobuf.InvalidProtocolBufferException {
1844 builder.mergeFrom(input, extensionRegistry);
1845 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
1846 throw e.setUnfinishedMessage(builder.buildPartial());
1847 }
catch (com.google.protobuf.UninitializedMessageException e) {
1848 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1849 }
catch (java.io.IOException e) {
1850 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1851 .setUnfinishedMessage(builder.buildPartial());
1853 return builder.buildPartial();
1868 return DEFAULT_INSTANCE;