Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Solvers.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/pdlp/solvers.proto
3
4// Protobuf Java Version: 3.25.3
5package operations_research.pdlp;
6
7public final class Solvers {
8 private Solvers() {}
9 public static void registerAllExtensions(
10 com.google.protobuf.ExtensionRegistryLite registry) {
11 }
12
13 public static void registerAllExtensions(
14 com.google.protobuf.ExtensionRegistry registry) {
16 (com.google.protobuf.ExtensionRegistryLite) registry);
17 }
21 public enum OptimalityNorm
22 implements com.google.protobuf.ProtocolMessageEnum {
61 ;
62
66 public static final int OPTIMALITY_NORM_UNSPECIFIED_VALUE = 0;
74 public static final int OPTIMALITY_NORM_L_INF_VALUE = 1;
82 public static final int OPTIMALITY_NORM_L2_VALUE = 2;
100 public static final int OPTIMALITY_NORM_L_INF_COMPONENTWISE_VALUE = 3;
101
102
103 public final int getNumber() {
104 return value;
105 }
106
112 @java.lang.Deprecated
113 public static OptimalityNorm valueOf(int value) {
114 return forNumber(value);
115 }
116
121 public static OptimalityNorm forNumber(int value) {
122 switch (value) {
123 case 0: return OPTIMALITY_NORM_UNSPECIFIED;
124 case 1: return OPTIMALITY_NORM_L_INF;
125 case 2: return OPTIMALITY_NORM_L2;
126 case 3: return OPTIMALITY_NORM_L_INF_COMPONENTWISE;
127 default: return null;
128 }
129 }
130
131 public static com.google.protobuf.Internal.EnumLiteMap<OptimalityNorm>
133 return internalValueMap;
134 }
135 private static final com.google.protobuf.Internal.EnumLiteMap<
136 OptimalityNorm> internalValueMap =
137 new com.google.protobuf.Internal.EnumLiteMap<OptimalityNorm>() {
138 public OptimalityNorm findValueByNumber(int number) {
139 return OptimalityNorm.forNumber(number);
140 }
141 };
142
143 public final com.google.protobuf.Descriptors.EnumValueDescriptor
145 return getDescriptor().getValues().get(ordinal());
146 }
147 public final com.google.protobuf.Descriptors.EnumDescriptor
149 return getDescriptor();
150 }
151 public static final com.google.protobuf.Descriptors.EnumDescriptor
153 return operations_research.pdlp.Solvers.getDescriptor().getEnumTypes().get(0);
154 }
155
156 private static final OptimalityNorm[] VALUES = values();
157
158 public static OptimalityNorm valueOf(
159 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
160 if (desc.getType() != getDescriptor()) {
161 throw new java.lang.IllegalArgumentException(
162 "EnumValueDescriptor is not for this type.");
163 }
164 return VALUES[desc.getIndex()];
165 }
166
167 private final int value;
168
169 private OptimalityNorm(int value) {
170 this.value = value;
171 }
172
173 // @@protoc_insertion_point(enum_scope:operations_research.pdlp.OptimalityNorm)
174 }
175
176 public interface TerminationCriteriaOrBuilder extends
177 // @@protoc_insertion_point(interface_extends:operations_research.pdlp.TerminationCriteria)
178 com.google.protobuf.MessageOrBuilder {
179
198
213
228
242 @java.lang.Deprecated boolean hasEpsOptimalAbsolute();
256 @java.lang.Deprecated double getEpsOptimalAbsolute();
257
271 @java.lang.Deprecated boolean hasEpsOptimalRelative();
285 @java.lang.Deprecated double getEpsOptimalRelative();
286
315
348
369
390
411
413 }
430 public static final class TerminationCriteria extends
431 com.google.protobuf.GeneratedMessageV3 implements
432 // @@protoc_insertion_point(message_implements:operations_research.pdlp.TerminationCriteria)
434 private static final long serialVersionUID = 0L;
435 // Use TerminationCriteria.newBuilder() to construct.
436 private TerminationCriteria(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
437 super(builder);
438 }
439 private TerminationCriteria() {
440 optimalityNorm_ = 2;
441 epsOptimalAbsolute_ = 1e-06D;
442 epsOptimalRelative_ = 1e-06D;
443 epsPrimalInfeasible_ = 1e-08D;
444 epsDualInfeasible_ = 1e-08D;
445 timeSecLimit_ = Double.POSITIVE_INFINITY;
446 iterationLimit_ = 2147483647;
447 kktMatrixPassLimit_ = Double.POSITIVE_INFINITY;
448 }
449
450 @java.lang.Override
451 @SuppressWarnings({"unused"})
452 protected java.lang.Object newInstance(
453 UnusedPrivateParameter unused) {
454 return new TerminationCriteria();
455 }
456
457 public static final com.google.protobuf.Descriptors.Descriptor
459 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_descriptor;
460 }
461
462 @java.lang.Override
463 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
465 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_fieldAccessorTable
466 .ensureFieldAccessorsInitialized(
468 }
469
470 public interface SimpleOptimalityCriteriaOrBuilder extends
471 // @@protoc_insertion_point(interface_extends:operations_research.pdlp.TerminationCriteria.SimpleOptimalityCriteria)
472 com.google.protobuf.MessageOrBuilder {
473
494
515 }
519 public static final class SimpleOptimalityCriteria extends
520 com.google.protobuf.GeneratedMessageV3 implements
521 // @@protoc_insertion_point(message_implements:operations_research.pdlp.TerminationCriteria.SimpleOptimalityCriteria)
523 private static final long serialVersionUID = 0L;
524 // Use SimpleOptimalityCriteria.newBuilder() to construct.
525 private SimpleOptimalityCriteria(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
526 super(builder);
527 }
528 private SimpleOptimalityCriteria() {
529 epsOptimalAbsolute_ = 1e-06D;
530 epsOptimalRelative_ = 1e-06D;
531 }
532
533 @java.lang.Override
534 @SuppressWarnings({"unused"})
535 protected java.lang.Object newInstance(
536 UnusedPrivateParameter unused) {
537 return new SimpleOptimalityCriteria();
538 }
539
540 public static final com.google.protobuf.Descriptors.Descriptor
542 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_SimpleOptimalityCriteria_descriptor;
543 }
544
545 @java.lang.Override
546 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
548 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_SimpleOptimalityCriteria_fieldAccessorTable
549 .ensureFieldAccessorsInitialized(
551 }
552
553 private int bitField0_;
554 public static final int EPS_OPTIMAL_ABSOLUTE_FIELD_NUMBER = 1;
555 private double epsOptimalAbsolute_ = 1e-06D;
565 @java.lang.Override
566 public boolean hasEpsOptimalAbsolute() {
567 return ((bitField0_ & 0x00000001) != 0);
568 }
578 @java.lang.Override
579 public double getEpsOptimalAbsolute() {
580 return epsOptimalAbsolute_;
581 }
582
583 public static final int EPS_OPTIMAL_RELATIVE_FIELD_NUMBER = 2;
584 private double epsOptimalRelative_ = 1e-06D;
594 @java.lang.Override
595 public boolean hasEpsOptimalRelative() {
596 return ((bitField0_ & 0x00000002) != 0);
597 }
607 @java.lang.Override
608 public double getEpsOptimalRelative() {
609 return epsOptimalRelative_;
610 }
611
612 private byte memoizedIsInitialized = -1;
613 @java.lang.Override
614 public final boolean isInitialized() {
615 byte isInitialized = memoizedIsInitialized;
616 if (isInitialized == 1) return true;
617 if (isInitialized == 0) return false;
618
619 memoizedIsInitialized = 1;
620 return true;
621 }
622
623 @java.lang.Override
624 public void writeTo(com.google.protobuf.CodedOutputStream output)
625 throws java.io.IOException {
626 if (((bitField0_ & 0x00000001) != 0)) {
627 output.writeDouble(1, epsOptimalAbsolute_);
628 }
629 if (((bitField0_ & 0x00000002) != 0)) {
630 output.writeDouble(2, epsOptimalRelative_);
631 }
632 getUnknownFields().writeTo(output);
633 }
634
635 @java.lang.Override
636 public int getSerializedSize() {
637 int size = memoizedSize;
638 if (size != -1) return size;
639
640 size = 0;
641 if (((bitField0_ & 0x00000001) != 0)) {
642 size += com.google.protobuf.CodedOutputStream
643 .computeDoubleSize(1, epsOptimalAbsolute_);
644 }
645 if (((bitField0_ & 0x00000002) != 0)) {
646 size += com.google.protobuf.CodedOutputStream
647 .computeDoubleSize(2, epsOptimalRelative_);
648 }
649 size += getUnknownFields().getSerializedSize();
650 memoizedSize = size;
651 return size;
652 }
653
654 @java.lang.Override
655 public boolean equals(final java.lang.Object obj) {
656 if (obj == this) {
657 return true;
658 }
660 return super.equals(obj);
661 }
663
664 if (hasEpsOptimalAbsolute() != other.hasEpsOptimalAbsolute()) return false;
665 if (hasEpsOptimalAbsolute()) {
666 if (java.lang.Double.doubleToLongBits(getEpsOptimalAbsolute())
667 != java.lang.Double.doubleToLongBits(
668 other.getEpsOptimalAbsolute())) return false;
669 }
670 if (hasEpsOptimalRelative() != other.hasEpsOptimalRelative()) return false;
671 if (hasEpsOptimalRelative()) {
672 if (java.lang.Double.doubleToLongBits(getEpsOptimalRelative())
673 != java.lang.Double.doubleToLongBits(
674 other.getEpsOptimalRelative())) return false;
675 }
676 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
677 return true;
678 }
679
680 @java.lang.Override
681 public int hashCode() {
682 if (memoizedHashCode != 0) {
683 return memoizedHashCode;
684 }
685 int hash = 41;
686 hash = (19 * hash) + getDescriptor().hashCode();
687 if (hasEpsOptimalAbsolute()) {
688 hash = (37 * hash) + EPS_OPTIMAL_ABSOLUTE_FIELD_NUMBER;
689 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
690 java.lang.Double.doubleToLongBits(getEpsOptimalAbsolute()));
691 }
692 if (hasEpsOptimalRelative()) {
693 hash = (37 * hash) + EPS_OPTIMAL_RELATIVE_FIELD_NUMBER;
694 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
695 java.lang.Double.doubleToLongBits(getEpsOptimalRelative()));
696 }
697 hash = (29 * hash) + getUnknownFields().hashCode();
698 memoizedHashCode = hash;
699 return hash;
700 }
701
703 java.nio.ByteBuffer data)
704 throws com.google.protobuf.InvalidProtocolBufferException {
705 return PARSER.parseFrom(data);
706 }
708 java.nio.ByteBuffer data,
709 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
710 throws com.google.protobuf.InvalidProtocolBufferException {
711 return PARSER.parseFrom(data, extensionRegistry);
712 }
714 com.google.protobuf.ByteString data)
715 throws com.google.protobuf.InvalidProtocolBufferException {
716 return PARSER.parseFrom(data);
717 }
719 com.google.protobuf.ByteString data,
720 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
721 throws com.google.protobuf.InvalidProtocolBufferException {
722 return PARSER.parseFrom(data, extensionRegistry);
723 }
725 throws com.google.protobuf.InvalidProtocolBufferException {
726 return PARSER.parseFrom(data);
727 }
729 byte[] data,
730 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
731 throws com.google.protobuf.InvalidProtocolBufferException {
732 return PARSER.parseFrom(data, extensionRegistry);
733 }
735 throws java.io.IOException {
736 return com.google.protobuf.GeneratedMessageV3
737 .parseWithIOException(PARSER, input);
738 }
740 java.io.InputStream input,
741 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
742 throws java.io.IOException {
743 return com.google.protobuf.GeneratedMessageV3
744 .parseWithIOException(PARSER, input, extensionRegistry);
745 }
746
748 throws java.io.IOException {
749 return com.google.protobuf.GeneratedMessageV3
750 .parseDelimitedWithIOException(PARSER, input);
751 }
752
754 java.io.InputStream input,
755 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
756 throws java.io.IOException {
757 return com.google.protobuf.GeneratedMessageV3
758 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
759 }
761 com.google.protobuf.CodedInputStream input)
762 throws java.io.IOException {
763 return com.google.protobuf.GeneratedMessageV3
764 .parseWithIOException(PARSER, input);
765 }
767 com.google.protobuf.CodedInputStream input,
768 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
769 throws java.io.IOException {
770 return com.google.protobuf.GeneratedMessageV3
771 .parseWithIOException(PARSER, input, extensionRegistry);
772 }
773
774 @java.lang.Override
775 public Builder newBuilderForType() { return newBuilder(); }
776 public static Builder newBuilder() {
777 return DEFAULT_INSTANCE.toBuilder();
778 }
780 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
781 }
782 @java.lang.Override
784 return this == DEFAULT_INSTANCE
785 ? new Builder() : new Builder().mergeFrom(this);
786 }
787
788 @java.lang.Override
790 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
791 Builder builder = new Builder(parent);
792 return builder;
793 }
797 public static final class Builder extends
798 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
799 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.TerminationCriteria.SimpleOptimalityCriteria)
801 public static final com.google.protobuf.Descriptors.Descriptor
803 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_SimpleOptimalityCriteria_descriptor;
804 }
805
806 @java.lang.Override
807 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
809 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_SimpleOptimalityCriteria_fieldAccessorTable
810 .ensureFieldAccessorsInitialized(
812 }
813
814 // Construct using operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria.newBuilder()
815 private Builder() {
816
817 }
818
819 private Builder(
820 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
821 super(parent);
822
823 }
824 @java.lang.Override
825 public Builder clear() {
826 super.clear();
827 bitField0_ = 0;
828 epsOptimalAbsolute_ = 1e-06D;
829 epsOptimalRelative_ = 1e-06D;
830 return this;
831 }
832
833 @java.lang.Override
834 public com.google.protobuf.Descriptors.Descriptor
836 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_SimpleOptimalityCriteria_descriptor;
837 }
838
839 @java.lang.Override
843
844 @java.lang.Override
847 if (!result.isInitialized()) {
848 throw newUninitializedMessageException(result);
849 }
850 return result;
851 }
852
853 @java.lang.Override
860
862 int from_bitField0_ = bitField0_;
863 int to_bitField0_ = 0;
864 if (((from_bitField0_ & 0x00000001) != 0)) {
865 result.epsOptimalAbsolute_ = epsOptimalAbsolute_;
866 to_bitField0_ |= 0x00000001;
867 }
868 if (((from_bitField0_ & 0x00000002) != 0)) {
869 result.epsOptimalRelative_ = epsOptimalRelative_;
870 to_bitField0_ |= 0x00000002;
871 }
872 result.bitField0_ |= to_bitField0_;
873 }
874
875 @java.lang.Override
876 public Builder clone() {
877 return super.clone();
878 }
879 @java.lang.Override
881 com.google.protobuf.Descriptors.FieldDescriptor field,
882 java.lang.Object value) {
883 return super.setField(field, value);
884 }
885 @java.lang.Override
887 com.google.protobuf.Descriptors.FieldDescriptor field) {
888 return super.clearField(field);
889 }
890 @java.lang.Override
892 com.google.protobuf.Descriptors.OneofDescriptor oneof) {
893 return super.clearOneof(oneof);
894 }
895 @java.lang.Override
897 com.google.protobuf.Descriptors.FieldDescriptor field,
898 int index, java.lang.Object value) {
899 return super.setRepeatedField(field, index, value);
900 }
901 @java.lang.Override
903 com.google.protobuf.Descriptors.FieldDescriptor field,
904 java.lang.Object value) {
905 return super.addRepeatedField(field, value);
906 }
907 @java.lang.Override
908 public Builder mergeFrom(com.google.protobuf.Message other) {
911 } else {
912 super.mergeFrom(other);
913 return this;
914 }
915 }
916
919 if (other.hasEpsOptimalAbsolute()) {
920 setEpsOptimalAbsolute(other.getEpsOptimalAbsolute());
921 }
922 if (other.hasEpsOptimalRelative()) {
923 setEpsOptimalRelative(other.getEpsOptimalRelative());
924 }
925 this.mergeUnknownFields(other.getUnknownFields());
926 onChanged();
927 return this;
928 }
929
930 @java.lang.Override
931 public final boolean isInitialized() {
932 return true;
933 }
934
935 @java.lang.Override
937 com.google.protobuf.CodedInputStream input,
938 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
939 throws java.io.IOException {
940 if (extensionRegistry == null) {
941 throw new java.lang.NullPointerException();
942 }
943 try {
944 boolean done = false;
945 while (!done) {
946 int tag = input.readTag();
947 switch (tag) {
948 case 0:
949 done = true;
950 break;
951 case 9: {
952 epsOptimalAbsolute_ = input.readDouble();
953 bitField0_ |= 0x00000001;
954 break;
955 } // case 9
956 case 17: {
957 epsOptimalRelative_ = input.readDouble();
958 bitField0_ |= 0x00000002;
959 break;
960 } // case 17
961 default: {
962 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
963 done = true; // was an endgroup tag
964 }
965 break;
966 } // default:
967 } // switch (tag)
968 } // while (!done)
969 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
970 throw e.unwrapIOException();
971 } finally {
972 onChanged();
973 } // finally
974 return this;
975 }
976 private int bitField0_;
977
978 private double epsOptimalAbsolute_ = 1e-06D;
988 @java.lang.Override
989 public boolean hasEpsOptimalAbsolute() {
990 return ((bitField0_ & 0x00000001) != 0);
991 }
1001 @java.lang.Override
1002 public double getEpsOptimalAbsolute() {
1003 return epsOptimalAbsolute_;
1004 }
1015 public Builder setEpsOptimalAbsolute(double value) {
1016
1017 epsOptimalAbsolute_ = value;
1018 bitField0_ |= 0x00000001;
1019 onChanged();
1020 return this;
1021 }
1032 bitField0_ = (bitField0_ & ~0x00000001);
1033 epsOptimalAbsolute_ = 1e-06D;
1034 onChanged();
1035 return this;
1036 }
1037
1038 private double epsOptimalRelative_ = 1e-06D;
1048 @java.lang.Override
1049 public boolean hasEpsOptimalRelative() {
1050 return ((bitField0_ & 0x00000002) != 0);
1051 }
1061 @java.lang.Override
1062 public double getEpsOptimalRelative() {
1063 return epsOptimalRelative_;
1064 }
1075 public Builder setEpsOptimalRelative(double value) {
1076
1077 epsOptimalRelative_ = value;
1078 bitField0_ |= 0x00000002;
1079 onChanged();
1080 return this;
1081 }
1092 bitField0_ = (bitField0_ & ~0x00000002);
1093 epsOptimalRelative_ = 1e-06D;
1094 onChanged();
1095 return this;
1096 }
1097 @java.lang.Override
1099 final com.google.protobuf.UnknownFieldSet unknownFields) {
1100 return super.setUnknownFields(unknownFields);
1101 }
1102
1103 @java.lang.Override
1105 final com.google.protobuf.UnknownFieldSet unknownFields) {
1106 return super.mergeUnknownFields(unknownFields);
1107 }
1108
1109
1110 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.TerminationCriteria.SimpleOptimalityCriteria)
1111 }
1112
1113 // @@protoc_insertion_point(class_scope:operations_research.pdlp.TerminationCriteria.SimpleOptimalityCriteria)
1115 static {
1117 }
1118
1122
1123 @java.lang.Deprecated public static final com.google.protobuf.Parser<SimpleOptimalityCriteria>
1124 PARSER = new com.google.protobuf.AbstractParser<SimpleOptimalityCriteria>() {
1125 @java.lang.Override
1126 public SimpleOptimalityCriteria parsePartialFrom(
1127 com.google.protobuf.CodedInputStream input,
1128 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1129 throws com.google.protobuf.InvalidProtocolBufferException {
1130 Builder builder = newBuilder();
1131 try {
1132 builder.mergeFrom(input, extensionRegistry);
1133 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1134 throw e.setUnfinishedMessage(builder.buildPartial());
1135 } catch (com.google.protobuf.UninitializedMessageException e) {
1136 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1137 } catch (java.io.IOException e) {
1138 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1139 .setUnfinishedMessage(builder.buildPartial());
1140 }
1141 return builder.buildPartial();
1142 }
1143 };
1144
1145 public static com.google.protobuf.Parser<SimpleOptimalityCriteria> parser() {
1146 return PARSER;
1147 }
1148
1149 @java.lang.Override
1150 public com.google.protobuf.Parser<SimpleOptimalityCriteria> getParserForType() {
1151 return PARSER;
1152 }
1153
1154 @java.lang.Override
1158
1159 }
1160
1162 // @@protoc_insertion_point(interface_extends:operations_research.pdlp.TerminationCriteria.DetailedOptimalityCriteria)
1163 com.google.protobuf.MessageOrBuilder {
1164
1183
1202
1221
1240
1259
1278 }
1282 public static final class DetailedOptimalityCriteria extends
1283 com.google.protobuf.GeneratedMessageV3 implements
1284 // @@protoc_insertion_point(message_implements:operations_research.pdlp.TerminationCriteria.DetailedOptimalityCriteria)
1286 private static final long serialVersionUID = 0L;
1287 // Use DetailedOptimalityCriteria.newBuilder() to construct.
1288 private DetailedOptimalityCriteria(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
1289 super(builder);
1290 }
1291 private DetailedOptimalityCriteria() {
1292 epsOptimalPrimalResidualAbsolute_ = 1e-06D;
1293 epsOptimalPrimalResidualRelative_ = 1e-06D;
1294 epsOptimalDualResidualAbsolute_ = 1e-06D;
1295 epsOptimalDualResidualRelative_ = 1e-06D;
1296 epsOptimalObjectiveGapAbsolute_ = 1e-06D;
1297 epsOptimalObjectiveGapRelative_ = 1e-06D;
1298 }
1299
1300 @java.lang.Override
1301 @SuppressWarnings({"unused"})
1302 protected java.lang.Object newInstance(
1303 UnusedPrivateParameter unused) {
1304 return new DetailedOptimalityCriteria();
1305 }
1306
1307 public static final com.google.protobuf.Descriptors.Descriptor
1309 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_DetailedOptimalityCriteria_descriptor;
1310 }
1311
1312 @java.lang.Override
1313 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
1315 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_DetailedOptimalityCriteria_fieldAccessorTable
1316 .ensureFieldAccessorsInitialized(
1318 }
1319
1320 private int bitField0_;
1322 private double epsOptimalPrimalResidualAbsolute_ = 1e-06D;
1331 @java.lang.Override
1333 return ((bitField0_ & 0x00000001) != 0);
1334 }
1343 @java.lang.Override
1345 return epsOptimalPrimalResidualAbsolute_;
1346 }
1347
1349 private double epsOptimalPrimalResidualRelative_ = 1e-06D;
1358 @java.lang.Override
1360 return ((bitField0_ & 0x00000002) != 0);
1361 }
1370 @java.lang.Override
1372 return epsOptimalPrimalResidualRelative_;
1373 }
1374
1376 private double epsOptimalDualResidualAbsolute_ = 1e-06D;
1385 @java.lang.Override
1387 return ((bitField0_ & 0x00000004) != 0);
1388 }
1397 @java.lang.Override
1399 return epsOptimalDualResidualAbsolute_;
1400 }
1401
1403 private double epsOptimalDualResidualRelative_ = 1e-06D;
1412 @java.lang.Override
1414 return ((bitField0_ & 0x00000008) != 0);
1415 }
1424 @java.lang.Override
1426 return epsOptimalDualResidualRelative_;
1427 }
1428
1430 private double epsOptimalObjectiveGapAbsolute_ = 1e-06D;
1439 @java.lang.Override
1441 return ((bitField0_ & 0x00000010) != 0);
1442 }
1451 @java.lang.Override
1453 return epsOptimalObjectiveGapAbsolute_;
1454 }
1455
1457 private double epsOptimalObjectiveGapRelative_ = 1e-06D;
1466 @java.lang.Override
1468 return ((bitField0_ & 0x00000020) != 0);
1469 }
1478 @java.lang.Override
1480 return epsOptimalObjectiveGapRelative_;
1481 }
1482
1483 private byte memoizedIsInitialized = -1;
1484 @java.lang.Override
1485 public final boolean isInitialized() {
1486 byte isInitialized = memoizedIsInitialized;
1487 if (isInitialized == 1) return true;
1488 if (isInitialized == 0) return false;
1489
1490 memoizedIsInitialized = 1;
1491 return true;
1492 }
1493
1494 @java.lang.Override
1495 public void writeTo(com.google.protobuf.CodedOutputStream output)
1496 throws java.io.IOException {
1497 if (((bitField0_ & 0x00000001) != 0)) {
1498 output.writeDouble(1, epsOptimalPrimalResidualAbsolute_);
1499 }
1500 if (((bitField0_ & 0x00000002) != 0)) {
1501 output.writeDouble(2, epsOptimalPrimalResidualRelative_);
1502 }
1503 if (((bitField0_ & 0x00000004) != 0)) {
1504 output.writeDouble(3, epsOptimalDualResidualAbsolute_);
1505 }
1506 if (((bitField0_ & 0x00000008) != 0)) {
1507 output.writeDouble(4, epsOptimalDualResidualRelative_);
1508 }
1509 if (((bitField0_ & 0x00000010) != 0)) {
1510 output.writeDouble(5, epsOptimalObjectiveGapAbsolute_);
1511 }
1512 if (((bitField0_ & 0x00000020) != 0)) {
1513 output.writeDouble(6, epsOptimalObjectiveGapRelative_);
1514 }
1515 getUnknownFields().writeTo(output);
1516 }
1517
1518 @java.lang.Override
1519 public int getSerializedSize() {
1520 int size = memoizedSize;
1521 if (size != -1) return size;
1522
1523 size = 0;
1524 if (((bitField0_ & 0x00000001) != 0)) {
1525 size += com.google.protobuf.CodedOutputStream
1526 .computeDoubleSize(1, epsOptimalPrimalResidualAbsolute_);
1527 }
1528 if (((bitField0_ & 0x00000002) != 0)) {
1529 size += com.google.protobuf.CodedOutputStream
1530 .computeDoubleSize(2, epsOptimalPrimalResidualRelative_);
1531 }
1532 if (((bitField0_ & 0x00000004) != 0)) {
1533 size += com.google.protobuf.CodedOutputStream
1534 .computeDoubleSize(3, epsOptimalDualResidualAbsolute_);
1535 }
1536 if (((bitField0_ & 0x00000008) != 0)) {
1537 size += com.google.protobuf.CodedOutputStream
1538 .computeDoubleSize(4, epsOptimalDualResidualRelative_);
1539 }
1540 if (((bitField0_ & 0x00000010) != 0)) {
1541 size += com.google.protobuf.CodedOutputStream
1542 .computeDoubleSize(5, epsOptimalObjectiveGapAbsolute_);
1543 }
1544 if (((bitField0_ & 0x00000020) != 0)) {
1545 size += com.google.protobuf.CodedOutputStream
1546 .computeDoubleSize(6, epsOptimalObjectiveGapRelative_);
1547 }
1548 size += getUnknownFields().getSerializedSize();
1549 memoizedSize = size;
1550 return size;
1551 }
1552
1553 @java.lang.Override
1554 public boolean equals(final java.lang.Object obj) {
1555 if (obj == this) {
1556 return true;
1557 }
1559 return super.equals(obj);
1560 }
1562
1565 if (java.lang.Double.doubleToLongBits(getEpsOptimalPrimalResidualAbsolute())
1566 != java.lang.Double.doubleToLongBits(
1567 other.getEpsOptimalPrimalResidualAbsolute())) return false;
1568 }
1571 if (java.lang.Double.doubleToLongBits(getEpsOptimalPrimalResidualRelative())
1572 != java.lang.Double.doubleToLongBits(
1573 other.getEpsOptimalPrimalResidualRelative())) return false;
1574 }
1577 if (java.lang.Double.doubleToLongBits(getEpsOptimalDualResidualAbsolute())
1578 != java.lang.Double.doubleToLongBits(
1579 other.getEpsOptimalDualResidualAbsolute())) return false;
1580 }
1583 if (java.lang.Double.doubleToLongBits(getEpsOptimalDualResidualRelative())
1584 != java.lang.Double.doubleToLongBits(
1585 other.getEpsOptimalDualResidualRelative())) return false;
1586 }
1589 if (java.lang.Double.doubleToLongBits(getEpsOptimalObjectiveGapAbsolute())
1590 != java.lang.Double.doubleToLongBits(
1591 other.getEpsOptimalObjectiveGapAbsolute())) return false;
1592 }
1595 if (java.lang.Double.doubleToLongBits(getEpsOptimalObjectiveGapRelative())
1596 != java.lang.Double.doubleToLongBits(
1597 other.getEpsOptimalObjectiveGapRelative())) return false;
1598 }
1599 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1600 return true;
1601 }
1602
1603 @java.lang.Override
1604 public int hashCode() {
1605 if (memoizedHashCode != 0) {
1606 return memoizedHashCode;
1607 }
1608 int hash = 41;
1609 hash = (19 * hash) + getDescriptor().hashCode();
1612 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1613 java.lang.Double.doubleToLongBits(getEpsOptimalPrimalResidualAbsolute()));
1614 }
1617 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1618 java.lang.Double.doubleToLongBits(getEpsOptimalPrimalResidualRelative()));
1619 }
1622 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1623 java.lang.Double.doubleToLongBits(getEpsOptimalDualResidualAbsolute()));
1624 }
1627 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1628 java.lang.Double.doubleToLongBits(getEpsOptimalDualResidualRelative()));
1629 }
1632 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1633 java.lang.Double.doubleToLongBits(getEpsOptimalObjectiveGapAbsolute()));
1634 }
1637 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1638 java.lang.Double.doubleToLongBits(getEpsOptimalObjectiveGapRelative()));
1639 }
1640 hash = (29 * hash) + getUnknownFields().hashCode();
1641 memoizedHashCode = hash;
1642 return hash;
1643 }
1644
1646 java.nio.ByteBuffer data)
1647 throws com.google.protobuf.InvalidProtocolBufferException {
1648 return PARSER.parseFrom(data);
1649 }
1651 java.nio.ByteBuffer data,
1652 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1653 throws com.google.protobuf.InvalidProtocolBufferException {
1654 return PARSER.parseFrom(data, extensionRegistry);
1655 }
1657 com.google.protobuf.ByteString data)
1658 throws com.google.protobuf.InvalidProtocolBufferException {
1659 return PARSER.parseFrom(data);
1660 }
1662 com.google.protobuf.ByteString data,
1663 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1664 throws com.google.protobuf.InvalidProtocolBufferException {
1665 return PARSER.parseFrom(data, extensionRegistry);
1666 }
1668 throws com.google.protobuf.InvalidProtocolBufferException {
1669 return PARSER.parseFrom(data);
1670 }
1672 byte[] data,
1673 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1674 throws com.google.protobuf.InvalidProtocolBufferException {
1675 return PARSER.parseFrom(data, extensionRegistry);
1676 }
1678 throws java.io.IOException {
1679 return com.google.protobuf.GeneratedMessageV3
1680 .parseWithIOException(PARSER, input);
1681 }
1683 java.io.InputStream input,
1684 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1685 throws java.io.IOException {
1686 return com.google.protobuf.GeneratedMessageV3
1687 .parseWithIOException(PARSER, input, extensionRegistry);
1688 }
1689
1691 throws java.io.IOException {
1692 return com.google.protobuf.GeneratedMessageV3
1693 .parseDelimitedWithIOException(PARSER, input);
1694 }
1695
1697 java.io.InputStream input,
1698 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1699 throws java.io.IOException {
1700 return com.google.protobuf.GeneratedMessageV3
1701 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1702 }
1704 com.google.protobuf.CodedInputStream input)
1705 throws java.io.IOException {
1706 return com.google.protobuf.GeneratedMessageV3
1707 .parseWithIOException(PARSER, input);
1708 }
1710 com.google.protobuf.CodedInputStream input,
1711 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1712 throws java.io.IOException {
1713 return com.google.protobuf.GeneratedMessageV3
1714 .parseWithIOException(PARSER, input, extensionRegistry);
1715 }
1716
1717 @java.lang.Override
1718 public Builder newBuilderForType() { return newBuilder(); }
1719 public static Builder newBuilder() {
1720 return DEFAULT_INSTANCE.toBuilder();
1721 }
1723 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1724 }
1725 @java.lang.Override
1727 return this == DEFAULT_INSTANCE
1728 ? new Builder() : new Builder().mergeFrom(this);
1729 }
1730
1731 @java.lang.Override
1733 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1734 Builder builder = new Builder(parent);
1735 return builder;
1736 }
1740 public static final class Builder extends
1741 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
1742 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.TerminationCriteria.DetailedOptimalityCriteria)
1744 public static final com.google.protobuf.Descriptors.Descriptor
1746 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_DetailedOptimalityCriteria_descriptor;
1747 }
1748
1749 @java.lang.Override
1750 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
1752 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_DetailedOptimalityCriteria_fieldAccessorTable
1753 .ensureFieldAccessorsInitialized(
1755 }
1756
1757 // Construct using operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria.newBuilder()
1758 private Builder() {
1759
1760 }
1761
1762 private Builder(
1763 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1764 super(parent);
1765
1766 }
1767 @java.lang.Override
1768 public Builder clear() {
1769 super.clear();
1770 bitField0_ = 0;
1771 epsOptimalPrimalResidualAbsolute_ = 1e-06D;
1772 epsOptimalPrimalResidualRelative_ = 1e-06D;
1773 epsOptimalDualResidualAbsolute_ = 1e-06D;
1774 epsOptimalDualResidualRelative_ = 1e-06D;
1775 epsOptimalObjectiveGapAbsolute_ = 1e-06D;
1776 epsOptimalObjectiveGapRelative_ = 1e-06D;
1777 return this;
1778 }
1779
1780 @java.lang.Override
1781 public com.google.protobuf.Descriptors.Descriptor
1783 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_DetailedOptimalityCriteria_descriptor;
1784 }
1785
1786 @java.lang.Override
1790
1791 @java.lang.Override
1794 if (!result.isInitialized()) {
1795 throw newUninitializedMessageException(result);
1796 }
1797 return result;
1798 }
1799
1800 @java.lang.Override
1807
1809 int from_bitField0_ = bitField0_;
1810 int to_bitField0_ = 0;
1811 if (((from_bitField0_ & 0x00000001) != 0)) {
1812 result.epsOptimalPrimalResidualAbsolute_ = epsOptimalPrimalResidualAbsolute_;
1813 to_bitField0_ |= 0x00000001;
1814 }
1815 if (((from_bitField0_ & 0x00000002) != 0)) {
1816 result.epsOptimalPrimalResidualRelative_ = epsOptimalPrimalResidualRelative_;
1817 to_bitField0_ |= 0x00000002;
1818 }
1819 if (((from_bitField0_ & 0x00000004) != 0)) {
1820 result.epsOptimalDualResidualAbsolute_ = epsOptimalDualResidualAbsolute_;
1821 to_bitField0_ |= 0x00000004;
1822 }
1823 if (((from_bitField0_ & 0x00000008) != 0)) {
1824 result.epsOptimalDualResidualRelative_ = epsOptimalDualResidualRelative_;
1825 to_bitField0_ |= 0x00000008;
1826 }
1827 if (((from_bitField0_ & 0x00000010) != 0)) {
1828 result.epsOptimalObjectiveGapAbsolute_ = epsOptimalObjectiveGapAbsolute_;
1829 to_bitField0_ |= 0x00000010;
1830 }
1831 if (((from_bitField0_ & 0x00000020) != 0)) {
1832 result.epsOptimalObjectiveGapRelative_ = epsOptimalObjectiveGapRelative_;
1833 to_bitField0_ |= 0x00000020;
1834 }
1835 result.bitField0_ |= to_bitField0_;
1836 }
1837
1838 @java.lang.Override
1839 public Builder clone() {
1840 return super.clone();
1841 }
1842 @java.lang.Override
1844 com.google.protobuf.Descriptors.FieldDescriptor field,
1845 java.lang.Object value) {
1846 return super.setField(field, value);
1847 }
1848 @java.lang.Override
1850 com.google.protobuf.Descriptors.FieldDescriptor field) {
1851 return super.clearField(field);
1852 }
1853 @java.lang.Override
1855 com.google.protobuf.Descriptors.OneofDescriptor oneof) {
1856 return super.clearOneof(oneof);
1857 }
1858 @java.lang.Override
1860 com.google.protobuf.Descriptors.FieldDescriptor field,
1861 int index, java.lang.Object value) {
1862 return super.setRepeatedField(field, index, value);
1863 }
1864 @java.lang.Override
1866 com.google.protobuf.Descriptors.FieldDescriptor field,
1867 java.lang.Object value) {
1868 return super.addRepeatedField(field, value);
1869 }
1870 @java.lang.Override
1871 public Builder mergeFrom(com.google.protobuf.Message other) {
1874 } else {
1875 super.mergeFrom(other);
1876 return this;
1877 }
1878 }
1879
1882 if (other.hasEpsOptimalPrimalResidualAbsolute()) {
1883 setEpsOptimalPrimalResidualAbsolute(other.getEpsOptimalPrimalResidualAbsolute());
1884 }
1885 if (other.hasEpsOptimalPrimalResidualRelative()) {
1886 setEpsOptimalPrimalResidualRelative(other.getEpsOptimalPrimalResidualRelative());
1887 }
1888 if (other.hasEpsOptimalDualResidualAbsolute()) {
1889 setEpsOptimalDualResidualAbsolute(other.getEpsOptimalDualResidualAbsolute());
1890 }
1891 if (other.hasEpsOptimalDualResidualRelative()) {
1892 setEpsOptimalDualResidualRelative(other.getEpsOptimalDualResidualRelative());
1893 }
1894 if (other.hasEpsOptimalObjectiveGapAbsolute()) {
1895 setEpsOptimalObjectiveGapAbsolute(other.getEpsOptimalObjectiveGapAbsolute());
1896 }
1897 if (other.hasEpsOptimalObjectiveGapRelative()) {
1898 setEpsOptimalObjectiveGapRelative(other.getEpsOptimalObjectiveGapRelative());
1899 }
1900 this.mergeUnknownFields(other.getUnknownFields());
1901 onChanged();
1902 return this;
1903 }
1904
1905 @java.lang.Override
1906 public final boolean isInitialized() {
1907 return true;
1908 }
1909
1910 @java.lang.Override
1912 com.google.protobuf.CodedInputStream input,
1913 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1914 throws java.io.IOException {
1915 if (extensionRegistry == null) {
1916 throw new java.lang.NullPointerException();
1917 }
1918 try {
1919 boolean done = false;
1920 while (!done) {
1921 int tag = input.readTag();
1922 switch (tag) {
1923 case 0:
1924 done = true;
1925 break;
1926 case 9: {
1927 epsOptimalPrimalResidualAbsolute_ = input.readDouble();
1928 bitField0_ |= 0x00000001;
1929 break;
1930 } // case 9
1931 case 17: {
1932 epsOptimalPrimalResidualRelative_ = input.readDouble();
1933 bitField0_ |= 0x00000002;
1934 break;
1935 } // case 17
1936 case 25: {
1937 epsOptimalDualResidualAbsolute_ = input.readDouble();
1938 bitField0_ |= 0x00000004;
1939 break;
1940 } // case 25
1941 case 33: {
1942 epsOptimalDualResidualRelative_ = input.readDouble();
1943 bitField0_ |= 0x00000008;
1944 break;
1945 } // case 33
1946 case 41: {
1947 epsOptimalObjectiveGapAbsolute_ = input.readDouble();
1948 bitField0_ |= 0x00000010;
1949 break;
1950 } // case 41
1951 case 49: {
1952 epsOptimalObjectiveGapRelative_ = input.readDouble();
1953 bitField0_ |= 0x00000020;
1954 break;
1955 } // case 49
1956 default: {
1957 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1958 done = true; // was an endgroup tag
1959 }
1960 break;
1961 } // default:
1962 } // switch (tag)
1963 } // while (!done)
1964 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1965 throw e.unwrapIOException();
1966 } finally {
1967 onChanged();
1968 } // finally
1969 return this;
1970 }
1971 private int bitField0_;
1972
1973 private double epsOptimalPrimalResidualAbsolute_ = 1e-06D;
1982 @java.lang.Override
1984 return ((bitField0_ & 0x00000001) != 0);
1985 }
1994 @java.lang.Override
1996 return epsOptimalPrimalResidualAbsolute_;
1997 }
2008
2009 epsOptimalPrimalResidualAbsolute_ = value;
2010 bitField0_ |= 0x00000001;
2011 onChanged();
2012 return this;
2013 }
2023 bitField0_ = (bitField0_ & ~0x00000001);
2024 epsOptimalPrimalResidualAbsolute_ = 1e-06D;
2025 onChanged();
2026 return this;
2027 }
2028
2029 private double epsOptimalPrimalResidualRelative_ = 1e-06D;
2038 @java.lang.Override
2040 return ((bitField0_ & 0x00000002) != 0);
2041 }
2050 @java.lang.Override
2052 return epsOptimalPrimalResidualRelative_;
2053 }
2064
2065 epsOptimalPrimalResidualRelative_ = value;
2066 bitField0_ |= 0x00000002;
2067 onChanged();
2068 return this;
2069 }
2079 bitField0_ = (bitField0_ & ~0x00000002);
2080 epsOptimalPrimalResidualRelative_ = 1e-06D;
2081 onChanged();
2082 return this;
2083 }
2084
2085 private double epsOptimalDualResidualAbsolute_ = 1e-06D;
2094 @java.lang.Override
2096 return ((bitField0_ & 0x00000004) != 0);
2097 }
2106 @java.lang.Override
2108 return epsOptimalDualResidualAbsolute_;
2109 }
2120
2121 epsOptimalDualResidualAbsolute_ = value;
2122 bitField0_ |= 0x00000004;
2123 onChanged();
2124 return this;
2125 }
2135 bitField0_ = (bitField0_ & ~0x00000004);
2136 epsOptimalDualResidualAbsolute_ = 1e-06D;
2137 onChanged();
2138 return this;
2139 }
2140
2141 private double epsOptimalDualResidualRelative_ = 1e-06D;
2150 @java.lang.Override
2152 return ((bitField0_ & 0x00000008) != 0);
2153 }
2162 @java.lang.Override
2164 return epsOptimalDualResidualRelative_;
2165 }
2176
2177 epsOptimalDualResidualRelative_ = value;
2178 bitField0_ |= 0x00000008;
2179 onChanged();
2180 return this;
2181 }
2191 bitField0_ = (bitField0_ & ~0x00000008);
2192 epsOptimalDualResidualRelative_ = 1e-06D;
2193 onChanged();
2194 return this;
2195 }
2196
2197 private double epsOptimalObjectiveGapAbsolute_ = 1e-06D;
2206 @java.lang.Override
2208 return ((bitField0_ & 0x00000010) != 0);
2209 }
2218 @java.lang.Override
2220 return epsOptimalObjectiveGapAbsolute_;
2221 }
2232
2233 epsOptimalObjectiveGapAbsolute_ = value;
2234 bitField0_ |= 0x00000010;
2235 onChanged();
2236 return this;
2237 }
2247 bitField0_ = (bitField0_ & ~0x00000010);
2248 epsOptimalObjectiveGapAbsolute_ = 1e-06D;
2249 onChanged();
2250 return this;
2251 }
2252
2253 private double epsOptimalObjectiveGapRelative_ = 1e-06D;
2262 @java.lang.Override
2264 return ((bitField0_ & 0x00000020) != 0);
2265 }
2274 @java.lang.Override
2276 return epsOptimalObjectiveGapRelative_;
2277 }
2288
2289 epsOptimalObjectiveGapRelative_ = value;
2290 bitField0_ |= 0x00000020;
2291 onChanged();
2292 return this;
2293 }
2303 bitField0_ = (bitField0_ & ~0x00000020);
2304 epsOptimalObjectiveGapRelative_ = 1e-06D;
2305 onChanged();
2306 return this;
2307 }
2308 @java.lang.Override
2310 final com.google.protobuf.UnknownFieldSet unknownFields) {
2311 return super.setUnknownFields(unknownFields);
2312 }
2313
2314 @java.lang.Override
2316 final com.google.protobuf.UnknownFieldSet unknownFields) {
2317 return super.mergeUnknownFields(unknownFields);
2318 }
2319
2320
2321 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.TerminationCriteria.DetailedOptimalityCriteria)
2322 }
2323
2324 // @@protoc_insertion_point(class_scope:operations_research.pdlp.TerminationCriteria.DetailedOptimalityCriteria)
2326 static {
2328 }
2329
2333
2334 @java.lang.Deprecated public static final com.google.protobuf.Parser<DetailedOptimalityCriteria>
2335 PARSER = new com.google.protobuf.AbstractParser<DetailedOptimalityCriteria>() {
2336 @java.lang.Override
2337 public DetailedOptimalityCriteria parsePartialFrom(
2338 com.google.protobuf.CodedInputStream input,
2339 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2340 throws com.google.protobuf.InvalidProtocolBufferException {
2341 Builder builder = newBuilder();
2342 try {
2343 builder.mergeFrom(input, extensionRegistry);
2344 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2345 throw e.setUnfinishedMessage(builder.buildPartial());
2346 } catch (com.google.protobuf.UninitializedMessageException e) {
2347 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
2348 } catch (java.io.IOException e) {
2349 throw new com.google.protobuf.InvalidProtocolBufferException(e)
2350 .setUnfinishedMessage(builder.buildPartial());
2351 }
2352 return builder.buildPartial();
2353 }
2354 };
2355
2356 public static com.google.protobuf.Parser<DetailedOptimalityCriteria> parser() {
2357 return PARSER;
2358 }
2359
2360 @java.lang.Override
2361 public com.google.protobuf.Parser<DetailedOptimalityCriteria> getParserForType() {
2362 return PARSER;
2363 }
2364
2365 @java.lang.Override
2369
2370 }
2371
2372 private int bitField0_;
2373 private int optimalityCriteriaCase_ = 0;
2374 @SuppressWarnings("serial")
2375 private java.lang.Object optimalityCriteria_;
2377 implements com.google.protobuf.Internal.EnumLite,
2378 com.google.protobuf.AbstractMessage.InternalOneOfEnum {
2382 private final int value;
2383 private OptimalityCriteriaCase(int value) {
2384 this.value = value;
2385 }
2391 @java.lang.Deprecated
2392 public static OptimalityCriteriaCase valueOf(int value) {
2393 return forNumber(value);
2394 }
2395
2396 public static OptimalityCriteriaCase forNumber(int value) {
2397 switch (value) {
2398 case 9: return SIMPLE_OPTIMALITY_CRITERIA;
2399 case 10: return DETAILED_OPTIMALITY_CRITERIA;
2400 case 0: return OPTIMALITYCRITERIA_NOT_SET;
2401 default: return null;
2402 }
2403 }
2404 public int getNumber() {
2405 return this.value;
2406 }
2407 };
2408
2409 public OptimalityCriteriaCase
2412 optimalityCriteriaCase_);
2413 }
2414
2415 public static final int OPTIMALITY_NORM_FIELD_NUMBER = 1;
2416 private int optimalityNorm_ = 2;
2425 @java.lang.Override public boolean hasOptimalityNorm() {
2426 return ((bitField0_ & 0x00000001) != 0);
2427 }
2438 return result == null ? operations_research.pdlp.Solvers.OptimalityNorm.OPTIMALITY_NORM_L2 : result;
2439 }
2440
2441 public static final int SIMPLE_OPTIMALITY_CRITERIA_FIELD_NUMBER = 9;
2446 @java.lang.Override
2448 return optimalityCriteriaCase_ == 9;
2449 }
2454 @java.lang.Override
2464 @java.lang.Override
2471
2472 public static final int DETAILED_OPTIMALITY_CRITERIA_FIELD_NUMBER = 10;
2477 @java.lang.Override
2479 return optimalityCriteriaCase_ == 10;
2480 }
2485 @java.lang.Override
2495 @java.lang.Override
2502
2503 public static final int EPS_OPTIMAL_ABSOLUTE_FIELD_NUMBER = 2;
2504 private double epsOptimalAbsolute_ = 1e-06D;
2518 @java.lang.Override
2519 @java.lang.Deprecated public boolean hasEpsOptimalAbsolute() {
2520 return ((bitField0_ & 0x00000002) != 0);
2521 }
2535 @java.lang.Override
2536 @java.lang.Deprecated public double getEpsOptimalAbsolute() {
2537 return epsOptimalAbsolute_;
2538 }
2539
2540 public static final int EPS_OPTIMAL_RELATIVE_FIELD_NUMBER = 3;
2541 private double epsOptimalRelative_ = 1e-06D;
2555 @java.lang.Override
2556 @java.lang.Deprecated public boolean hasEpsOptimalRelative() {
2557 return ((bitField0_ & 0x00000004) != 0);
2558 }
2572 @java.lang.Override
2573 @java.lang.Deprecated public double getEpsOptimalRelative() {
2574 return epsOptimalRelative_;
2575 }
2576
2577 public static final int EPS_PRIMAL_INFEASIBLE_FIELD_NUMBER = 4;
2578 private double epsPrimalInfeasible_ = 1e-08D;
2592 @java.lang.Override
2593 public boolean hasEpsPrimalInfeasible() {
2594 return ((bitField0_ & 0x00000008) != 0);
2595 }
2609 @java.lang.Override
2610 public double getEpsPrimalInfeasible() {
2611 return epsPrimalInfeasible_;
2612 }
2613
2614 public static final int EPS_DUAL_INFEASIBLE_FIELD_NUMBER = 5;
2615 private double epsDualInfeasible_ = 1e-08D;
2631 @java.lang.Override
2632 public boolean hasEpsDualInfeasible() {
2633 return ((bitField0_ & 0x00000010) != 0);
2634 }
2650 @java.lang.Override
2651 public double getEpsDualInfeasible() {
2652 return epsDualInfeasible_;
2653 }
2654
2655 public static final int TIME_SEC_LIMIT_FIELD_NUMBER = 6;
2656 private double timeSecLimit_ = Double.POSITIVE_INFINITY;
2666 @java.lang.Override
2667 public boolean hasTimeSecLimit() {
2668 return ((bitField0_ & 0x00000020) != 0);
2669 }
2679 @java.lang.Override
2680 public double getTimeSecLimit() {
2681 return timeSecLimit_;
2682 }
2683
2684 public static final int ITERATION_LIMIT_FIELD_NUMBER = 7;
2685 private int iterationLimit_ = 2147483647;
2695 @java.lang.Override
2696 public boolean hasIterationLimit() {
2697 return ((bitField0_ & 0x00000040) != 0);
2698 }
2708 @java.lang.Override
2709 public int getIterationLimit() {
2710 return iterationLimit_;
2711 }
2712
2713 public static final int KKT_MATRIX_PASS_LIMIT_FIELD_NUMBER = 8;
2714 private double kktMatrixPassLimit_ = Double.POSITIVE_INFINITY;
2724 @java.lang.Override
2725 public boolean hasKktMatrixPassLimit() {
2726 return ((bitField0_ & 0x00000080) != 0);
2727 }
2737 @java.lang.Override
2738 public double getKktMatrixPassLimit() {
2739 return kktMatrixPassLimit_;
2740 }
2741
2742 private byte memoizedIsInitialized = -1;
2743 @java.lang.Override
2744 public final boolean isInitialized() {
2745 byte isInitialized = memoizedIsInitialized;
2746 if (isInitialized == 1) return true;
2747 if (isInitialized == 0) return false;
2748
2749 memoizedIsInitialized = 1;
2750 return true;
2751 }
2752
2753 @java.lang.Override
2754 public void writeTo(com.google.protobuf.CodedOutputStream output)
2755 throws java.io.IOException {
2756 if (((bitField0_ & 0x00000001) != 0)) {
2757 output.writeEnum(1, optimalityNorm_);
2758 }
2759 if (((bitField0_ & 0x00000002) != 0)) {
2760 output.writeDouble(2, epsOptimalAbsolute_);
2761 }
2762 if (((bitField0_ & 0x00000004) != 0)) {
2763 output.writeDouble(3, epsOptimalRelative_);
2764 }
2765 if (((bitField0_ & 0x00000008) != 0)) {
2766 output.writeDouble(4, epsPrimalInfeasible_);
2767 }
2768 if (((bitField0_ & 0x00000010) != 0)) {
2769 output.writeDouble(5, epsDualInfeasible_);
2770 }
2771 if (((bitField0_ & 0x00000020) != 0)) {
2772 output.writeDouble(6, timeSecLimit_);
2773 }
2774 if (((bitField0_ & 0x00000040) != 0)) {
2775 output.writeInt32(7, iterationLimit_);
2776 }
2777 if (((bitField0_ & 0x00000080) != 0)) {
2778 output.writeDouble(8, kktMatrixPassLimit_);
2779 }
2780 if (optimalityCriteriaCase_ == 9) {
2781 output.writeMessage(9, (operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria) optimalityCriteria_);
2782 }
2783 if (optimalityCriteriaCase_ == 10) {
2784 output.writeMessage(10, (operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria) optimalityCriteria_);
2785 }
2786 getUnknownFields().writeTo(output);
2787 }
2788
2789 @java.lang.Override
2790 public int getSerializedSize() {
2791 int size = memoizedSize;
2792 if (size != -1) return size;
2793
2794 size = 0;
2795 if (((bitField0_ & 0x00000001) != 0)) {
2796 size += com.google.protobuf.CodedOutputStream
2797 .computeEnumSize(1, optimalityNorm_);
2798 }
2799 if (((bitField0_ & 0x00000002) != 0)) {
2800 size += com.google.protobuf.CodedOutputStream
2801 .computeDoubleSize(2, epsOptimalAbsolute_);
2802 }
2803 if (((bitField0_ & 0x00000004) != 0)) {
2804 size += com.google.protobuf.CodedOutputStream
2805 .computeDoubleSize(3, epsOptimalRelative_);
2806 }
2807 if (((bitField0_ & 0x00000008) != 0)) {
2808 size += com.google.protobuf.CodedOutputStream
2809 .computeDoubleSize(4, epsPrimalInfeasible_);
2810 }
2811 if (((bitField0_ & 0x00000010) != 0)) {
2812 size += com.google.protobuf.CodedOutputStream
2813 .computeDoubleSize(5, epsDualInfeasible_);
2814 }
2815 if (((bitField0_ & 0x00000020) != 0)) {
2816 size += com.google.protobuf.CodedOutputStream
2817 .computeDoubleSize(6, timeSecLimit_);
2818 }
2819 if (((bitField0_ & 0x00000040) != 0)) {
2820 size += com.google.protobuf.CodedOutputStream
2821 .computeInt32Size(7, iterationLimit_);
2822 }
2823 if (((bitField0_ & 0x00000080) != 0)) {
2824 size += com.google.protobuf.CodedOutputStream
2825 .computeDoubleSize(8, kktMatrixPassLimit_);
2826 }
2827 if (optimalityCriteriaCase_ == 9) {
2828 size += com.google.protobuf.CodedOutputStream
2829 .computeMessageSize(9, (operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria) optimalityCriteria_);
2830 }
2831 if (optimalityCriteriaCase_ == 10) {
2832 size += com.google.protobuf.CodedOutputStream
2833 .computeMessageSize(10, (operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria) optimalityCriteria_);
2834 }
2835 size += getUnknownFields().getSerializedSize();
2836 memoizedSize = size;
2837 return size;
2838 }
2839
2840 @java.lang.Override
2841 public boolean equals(final java.lang.Object obj) {
2842 if (obj == this) {
2843 return true;
2844 }
2845 if (!(obj instanceof operations_research.pdlp.Solvers.TerminationCriteria)) {
2846 return super.equals(obj);
2847 }
2849
2850 if (hasOptimalityNorm() != other.hasOptimalityNorm()) return false;
2851 if (hasOptimalityNorm()) {
2852 if (optimalityNorm_ != other.optimalityNorm_) return false;
2853 }
2854 if (hasEpsOptimalAbsolute() != other.hasEpsOptimalAbsolute()) return false;
2855 if (hasEpsOptimalAbsolute()) {
2856 if (java.lang.Double.doubleToLongBits(getEpsOptimalAbsolute())
2857 != java.lang.Double.doubleToLongBits(
2858 other.getEpsOptimalAbsolute())) return false;
2859 }
2860 if (hasEpsOptimalRelative() != other.hasEpsOptimalRelative()) return false;
2861 if (hasEpsOptimalRelative()) {
2862 if (java.lang.Double.doubleToLongBits(getEpsOptimalRelative())
2863 != java.lang.Double.doubleToLongBits(
2864 other.getEpsOptimalRelative())) return false;
2865 }
2866 if (hasEpsPrimalInfeasible() != other.hasEpsPrimalInfeasible()) return false;
2867 if (hasEpsPrimalInfeasible()) {
2868 if (java.lang.Double.doubleToLongBits(getEpsPrimalInfeasible())
2869 != java.lang.Double.doubleToLongBits(
2870 other.getEpsPrimalInfeasible())) return false;
2871 }
2872 if (hasEpsDualInfeasible() != other.hasEpsDualInfeasible()) return false;
2873 if (hasEpsDualInfeasible()) {
2874 if (java.lang.Double.doubleToLongBits(getEpsDualInfeasible())
2875 != java.lang.Double.doubleToLongBits(
2876 other.getEpsDualInfeasible())) return false;
2877 }
2878 if (hasTimeSecLimit() != other.hasTimeSecLimit()) return false;
2879 if (hasTimeSecLimit()) {
2880 if (java.lang.Double.doubleToLongBits(getTimeSecLimit())
2881 != java.lang.Double.doubleToLongBits(
2882 other.getTimeSecLimit())) return false;
2883 }
2884 if (hasIterationLimit() != other.hasIterationLimit()) return false;
2885 if (hasIterationLimit()) {
2886 if (getIterationLimit()
2887 != other.getIterationLimit()) return false;
2888 }
2889 if (hasKktMatrixPassLimit() != other.hasKktMatrixPassLimit()) return false;
2890 if (hasKktMatrixPassLimit()) {
2891 if (java.lang.Double.doubleToLongBits(getKktMatrixPassLimit())
2892 != java.lang.Double.doubleToLongBits(
2893 other.getKktMatrixPassLimit())) return false;
2894 }
2895 if (!getOptimalityCriteriaCase().equals(other.getOptimalityCriteriaCase())) return false;
2896 switch (optimalityCriteriaCase_) {
2897 case 9:
2899 .equals(other.getSimpleOptimalityCriteria())) return false;
2900 break;
2901 case 10:
2903 .equals(other.getDetailedOptimalityCriteria())) return false;
2904 break;
2905 case 0:
2906 default:
2907 }
2908 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
2909 return true;
2910 }
2911
2912 @java.lang.Override
2913 public int hashCode() {
2914 if (memoizedHashCode != 0) {
2915 return memoizedHashCode;
2916 }
2917 int hash = 41;
2918 hash = (19 * hash) + getDescriptor().hashCode();
2919 if (hasOptimalityNorm()) {
2920 hash = (37 * hash) + OPTIMALITY_NORM_FIELD_NUMBER;
2921 hash = (53 * hash) + optimalityNorm_;
2922 }
2923 if (hasEpsOptimalAbsolute()) {
2924 hash = (37 * hash) + EPS_OPTIMAL_ABSOLUTE_FIELD_NUMBER;
2925 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
2926 java.lang.Double.doubleToLongBits(getEpsOptimalAbsolute()));
2927 }
2928 if (hasEpsOptimalRelative()) {
2929 hash = (37 * hash) + EPS_OPTIMAL_RELATIVE_FIELD_NUMBER;
2930 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
2931 java.lang.Double.doubleToLongBits(getEpsOptimalRelative()));
2932 }
2933 if (hasEpsPrimalInfeasible()) {
2934 hash = (37 * hash) + EPS_PRIMAL_INFEASIBLE_FIELD_NUMBER;
2935 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
2936 java.lang.Double.doubleToLongBits(getEpsPrimalInfeasible()));
2937 }
2938 if (hasEpsDualInfeasible()) {
2939 hash = (37 * hash) + EPS_DUAL_INFEASIBLE_FIELD_NUMBER;
2940 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
2941 java.lang.Double.doubleToLongBits(getEpsDualInfeasible()));
2942 }
2943 if (hasTimeSecLimit()) {
2944 hash = (37 * hash) + TIME_SEC_LIMIT_FIELD_NUMBER;
2945 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
2946 java.lang.Double.doubleToLongBits(getTimeSecLimit()));
2947 }
2948 if (hasIterationLimit()) {
2949 hash = (37 * hash) + ITERATION_LIMIT_FIELD_NUMBER;
2950 hash = (53 * hash) + getIterationLimit();
2951 }
2952 if (hasKktMatrixPassLimit()) {
2953 hash = (37 * hash) + KKT_MATRIX_PASS_LIMIT_FIELD_NUMBER;
2954 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
2955 java.lang.Double.doubleToLongBits(getKktMatrixPassLimit()));
2956 }
2957 switch (optimalityCriteriaCase_) {
2958 case 9:
2959 hash = (37 * hash) + SIMPLE_OPTIMALITY_CRITERIA_FIELD_NUMBER;
2960 hash = (53 * hash) + getSimpleOptimalityCriteria().hashCode();
2961 break;
2962 case 10:
2963 hash = (37 * hash) + DETAILED_OPTIMALITY_CRITERIA_FIELD_NUMBER;
2964 hash = (53 * hash) + getDetailedOptimalityCriteria().hashCode();
2965 break;
2966 case 0:
2967 default:
2968 }
2969 hash = (29 * hash) + getUnknownFields().hashCode();
2970 memoizedHashCode = hash;
2971 return hash;
2972 }
2973
2975 java.nio.ByteBuffer data)
2976 throws com.google.protobuf.InvalidProtocolBufferException {
2977 return PARSER.parseFrom(data);
2978 }
2980 java.nio.ByteBuffer data,
2981 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2982 throws com.google.protobuf.InvalidProtocolBufferException {
2983 return PARSER.parseFrom(data, extensionRegistry);
2984 }
2986 com.google.protobuf.ByteString data)
2987 throws com.google.protobuf.InvalidProtocolBufferException {
2988 return PARSER.parseFrom(data);
2989 }
2991 com.google.protobuf.ByteString data,
2992 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2993 throws com.google.protobuf.InvalidProtocolBufferException {
2994 return PARSER.parseFrom(data, extensionRegistry);
2995 }
2997 throws com.google.protobuf.InvalidProtocolBufferException {
2998 return PARSER.parseFrom(data);
2999 }
3001 byte[] data,
3002 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3003 throws com.google.protobuf.InvalidProtocolBufferException {
3004 return PARSER.parseFrom(data, extensionRegistry);
3005 }
3007 throws java.io.IOException {
3008 return com.google.protobuf.GeneratedMessageV3
3009 .parseWithIOException(PARSER, input);
3010 }
3012 java.io.InputStream input,
3013 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3014 throws java.io.IOException {
3015 return com.google.protobuf.GeneratedMessageV3
3016 .parseWithIOException(PARSER, input, extensionRegistry);
3017 }
3018
3020 throws java.io.IOException {
3021 return com.google.protobuf.GeneratedMessageV3
3022 .parseDelimitedWithIOException(PARSER, input);
3023 }
3024
3026 java.io.InputStream input,
3027 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3028 throws java.io.IOException {
3029 return com.google.protobuf.GeneratedMessageV3
3030 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
3031 }
3033 com.google.protobuf.CodedInputStream input)
3034 throws java.io.IOException {
3035 return com.google.protobuf.GeneratedMessageV3
3036 .parseWithIOException(PARSER, input);
3037 }
3039 com.google.protobuf.CodedInputStream input,
3040 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3041 throws java.io.IOException {
3042 return com.google.protobuf.GeneratedMessageV3
3043 .parseWithIOException(PARSER, input, extensionRegistry);
3044 }
3045
3046 @java.lang.Override
3047 public Builder newBuilderForType() { return newBuilder(); }
3048 public static Builder newBuilder() {
3049 return DEFAULT_INSTANCE.toBuilder();
3050 }
3052 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
3053 }
3054 @java.lang.Override
3056 return this == DEFAULT_INSTANCE
3057 ? new Builder() : new Builder().mergeFrom(this);
3058 }
3059
3060 @java.lang.Override
3062 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
3063 Builder builder = new Builder(parent);
3064 return builder;
3065 }
3082 public static final class Builder extends
3083 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
3084 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.TerminationCriteria)
3086 public static final com.google.protobuf.Descriptors.Descriptor
3088 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_descriptor;
3089 }
3090
3091 @java.lang.Override
3092 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
3094 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_fieldAccessorTable
3095 .ensureFieldAccessorsInitialized(
3097 }
3098
3099 // Construct using operations_research.pdlp.Solvers.TerminationCriteria.newBuilder()
3100 private Builder() {
3101
3102 }
3103
3104 private Builder(
3105 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
3106 super(parent);
3107
3108 }
3109 @java.lang.Override
3110 public Builder clear() {
3111 super.clear();
3112 bitField0_ = 0;
3113 optimalityNorm_ = 2;
3114 if (simpleOptimalityCriteriaBuilder_ != null) {
3115 simpleOptimalityCriteriaBuilder_.clear();
3116 }
3117 if (detailedOptimalityCriteriaBuilder_ != null) {
3118 detailedOptimalityCriteriaBuilder_.clear();
3119 }
3120 epsOptimalAbsolute_ = 1e-06D;
3121 epsOptimalRelative_ = 1e-06D;
3122 epsPrimalInfeasible_ = 1e-08D;
3123 epsDualInfeasible_ = 1e-08D;
3124 timeSecLimit_ = Double.POSITIVE_INFINITY;
3125 iterationLimit_ = 2147483647;
3126 kktMatrixPassLimit_ = Double.POSITIVE_INFINITY;
3127 optimalityCriteriaCase_ = 0;
3128 optimalityCriteria_ = null;
3129 return this;
3130 }
3131
3132 @java.lang.Override
3133 public com.google.protobuf.Descriptors.Descriptor
3135 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_TerminationCriteria_descriptor;
3136 }
3137
3138 @java.lang.Override
3142
3143 @java.lang.Override
3146 if (!result.isInitialized()) {
3147 throw newUninitializedMessageException(result);
3148 }
3149 return result;
3150 }
3151
3152 @java.lang.Override
3155 if (bitField0_ != 0) { buildPartial0(result); }
3156 buildPartialOneofs(result);
3157 onBuilt();
3158 return result;
3159 }
3160
3161 private void buildPartial0(operations_research.pdlp.Solvers.TerminationCriteria result) {
3162 int from_bitField0_ = bitField0_;
3163 int to_bitField0_ = 0;
3164 if (((from_bitField0_ & 0x00000001) != 0)) {
3165 result.optimalityNorm_ = optimalityNorm_;
3166 to_bitField0_ |= 0x00000001;
3167 }
3168 if (((from_bitField0_ & 0x00000008) != 0)) {
3169 result.epsOptimalAbsolute_ = epsOptimalAbsolute_;
3170 to_bitField0_ |= 0x00000002;
3171 }
3172 if (((from_bitField0_ & 0x00000010) != 0)) {
3173 result.epsOptimalRelative_ = epsOptimalRelative_;
3174 to_bitField0_ |= 0x00000004;
3175 }
3176 if (((from_bitField0_ & 0x00000020) != 0)) {
3177 result.epsPrimalInfeasible_ = epsPrimalInfeasible_;
3178 to_bitField0_ |= 0x00000008;
3179 }
3180 if (((from_bitField0_ & 0x00000040) != 0)) {
3181 result.epsDualInfeasible_ = epsDualInfeasible_;
3182 to_bitField0_ |= 0x00000010;
3183 }
3184 if (((from_bitField0_ & 0x00000080) != 0)) {
3185 result.timeSecLimit_ = timeSecLimit_;
3186 to_bitField0_ |= 0x00000020;
3187 }
3188 if (((from_bitField0_ & 0x00000100) != 0)) {
3189 result.iterationLimit_ = iterationLimit_;
3190 to_bitField0_ |= 0x00000040;
3191 }
3192 if (((from_bitField0_ & 0x00000200) != 0)) {
3193 result.kktMatrixPassLimit_ = kktMatrixPassLimit_;
3194 to_bitField0_ |= 0x00000080;
3195 }
3196 result.bitField0_ |= to_bitField0_;
3197 }
3198
3199 private void buildPartialOneofs(operations_research.pdlp.Solvers.TerminationCriteria result) {
3200 result.optimalityCriteriaCase_ = optimalityCriteriaCase_;
3201 result.optimalityCriteria_ = this.optimalityCriteria_;
3202 if (optimalityCriteriaCase_ == 9 &&
3203 simpleOptimalityCriteriaBuilder_ != null) {
3204 result.optimalityCriteria_ = simpleOptimalityCriteriaBuilder_.build();
3205 }
3206 if (optimalityCriteriaCase_ == 10 &&
3207 detailedOptimalityCriteriaBuilder_ != null) {
3208 result.optimalityCriteria_ = detailedOptimalityCriteriaBuilder_.build();
3209 }
3210 }
3211
3212 @java.lang.Override
3213 public Builder clone() {
3214 return super.clone();
3215 }
3216 @java.lang.Override
3218 com.google.protobuf.Descriptors.FieldDescriptor field,
3219 java.lang.Object value) {
3220 return super.setField(field, value);
3221 }
3222 @java.lang.Override
3224 com.google.protobuf.Descriptors.FieldDescriptor field) {
3225 return super.clearField(field);
3226 }
3227 @java.lang.Override
3229 com.google.protobuf.Descriptors.OneofDescriptor oneof) {
3230 return super.clearOneof(oneof);
3231 }
3232 @java.lang.Override
3234 com.google.protobuf.Descriptors.FieldDescriptor field,
3235 int index, java.lang.Object value) {
3236 return super.setRepeatedField(field, index, value);
3237 }
3238 @java.lang.Override
3240 com.google.protobuf.Descriptors.FieldDescriptor field,
3241 java.lang.Object value) {
3242 return super.addRepeatedField(field, value);
3243 }
3244 @java.lang.Override
3245 public Builder mergeFrom(com.google.protobuf.Message other) {
3246 if (other instanceof operations_research.pdlp.Solvers.TerminationCriteria) {
3248 } else {
3249 super.mergeFrom(other);
3250 return this;
3251 }
3252 }
3253
3256 if (other.hasOptimalityNorm()) {
3257 setOptimalityNorm(other.getOptimalityNorm());
3258 }
3259 if (other.hasEpsOptimalAbsolute()) {
3260 setEpsOptimalAbsolute(other.getEpsOptimalAbsolute());
3261 }
3262 if (other.hasEpsOptimalRelative()) {
3263 setEpsOptimalRelative(other.getEpsOptimalRelative());
3264 }
3265 if (other.hasEpsPrimalInfeasible()) {
3266 setEpsPrimalInfeasible(other.getEpsPrimalInfeasible());
3267 }
3268 if (other.hasEpsDualInfeasible()) {
3269 setEpsDualInfeasible(other.getEpsDualInfeasible());
3270 }
3271 if (other.hasTimeSecLimit()) {
3272 setTimeSecLimit(other.getTimeSecLimit());
3273 }
3274 if (other.hasIterationLimit()) {
3275 setIterationLimit(other.getIterationLimit());
3276 }
3277 if (other.hasKktMatrixPassLimit()) {
3278 setKktMatrixPassLimit(other.getKktMatrixPassLimit());
3279 }
3280 switch (other.getOptimalityCriteriaCase()) {
3281 case SIMPLE_OPTIMALITY_CRITERIA: {
3282 mergeSimpleOptimalityCriteria(other.getSimpleOptimalityCriteria());
3283 break;
3284 }
3285 case DETAILED_OPTIMALITY_CRITERIA: {
3286 mergeDetailedOptimalityCriteria(other.getDetailedOptimalityCriteria());
3287 break;
3288 }
3289 case OPTIMALITYCRITERIA_NOT_SET: {
3290 break;
3291 }
3292 }
3293 this.mergeUnknownFields(other.getUnknownFields());
3294 onChanged();
3295 return this;
3296 }
3297
3298 @java.lang.Override
3299 public final boolean isInitialized() {
3300 return true;
3301 }
3302
3303 @java.lang.Override
3305 com.google.protobuf.CodedInputStream input,
3306 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3307 throws java.io.IOException {
3308 if (extensionRegistry == null) {
3309 throw new java.lang.NullPointerException();
3310 }
3311 try {
3312 boolean done = false;
3313 while (!done) {
3314 int tag = input.readTag();
3315 switch (tag) {
3316 case 0:
3317 done = true;
3318 break;
3319 case 8: {
3320 int tmpRaw = input.readEnum();
3323 if (tmpValue == null) {
3324 mergeUnknownVarintField(1, tmpRaw);
3325 } else {
3326 optimalityNorm_ = tmpRaw;
3327 bitField0_ |= 0x00000001;
3328 }
3329 break;
3330 } // case 8
3331 case 17: {
3332 epsOptimalAbsolute_ = input.readDouble();
3333 bitField0_ |= 0x00000008;
3334 break;
3335 } // case 17
3336 case 25: {
3337 epsOptimalRelative_ = input.readDouble();
3338 bitField0_ |= 0x00000010;
3339 break;
3340 } // case 25
3341 case 33: {
3342 epsPrimalInfeasible_ = input.readDouble();
3343 bitField0_ |= 0x00000020;
3344 break;
3345 } // case 33
3346 case 41: {
3347 epsDualInfeasible_ = input.readDouble();
3348 bitField0_ |= 0x00000040;
3349 break;
3350 } // case 41
3351 case 49: {
3352 timeSecLimit_ = input.readDouble();
3353 bitField0_ |= 0x00000080;
3354 break;
3355 } // case 49
3356 case 56: {
3357 iterationLimit_ = input.readInt32();
3358 bitField0_ |= 0x00000100;
3359 break;
3360 } // case 56
3361 case 65: {
3362 kktMatrixPassLimit_ = input.readDouble();
3363 bitField0_ |= 0x00000200;
3364 break;
3365 } // case 65
3366 case 74: {
3367 input.readMessage(
3368 getSimpleOptimalityCriteriaFieldBuilder().getBuilder(),
3369 extensionRegistry);
3370 optimalityCriteriaCase_ = 9;
3371 break;
3372 } // case 74
3373 case 82: {
3374 input.readMessage(
3375 getDetailedOptimalityCriteriaFieldBuilder().getBuilder(),
3376 extensionRegistry);
3377 optimalityCriteriaCase_ = 10;
3378 break;
3379 } // case 82
3380 default: {
3381 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
3382 done = true; // was an endgroup tag
3383 }
3384 break;
3385 } // default:
3386 } // switch (tag)
3387 } // while (!done)
3388 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3389 throw e.unwrapIOException();
3390 } finally {
3391 onChanged();
3392 } // finally
3393 return this;
3394 }
3395 private int optimalityCriteriaCase_ = 0;
3396 private java.lang.Object optimalityCriteria_;
3400 optimalityCriteriaCase_);
3401 }
3402
3404 optimalityCriteriaCase_ = 0;
3405 optimalityCriteria_ = null;
3406 onChanged();
3407 return this;
3408 }
3409
3410 private int bitField0_;
3411
3412 private int optimalityNorm_ = 2;
3421 @java.lang.Override public boolean hasOptimalityNorm() {
3422 return ((bitField0_ & 0x00000001) != 0);
3423 }
3432 @java.lang.Override
3435 return result == null ? operations_research.pdlp.Solvers.OptimalityNorm.OPTIMALITY_NORM_L2 : result;
3436 }
3447 if (value == null) {
3448 throw new NullPointerException();
3449 }
3450 bitField0_ |= 0x00000001;
3451 optimalityNorm_ = value.getNumber();
3452 onChanged();
3453 return this;
3454 }
3464 bitField0_ = (bitField0_ & ~0x00000001);
3465 optimalityNorm_ = 2;
3466 onChanged();
3467 return this;
3468 }
3469
3470 private com.google.protobuf.SingleFieldBuilderV3<
3476 @java.lang.Override
3478 return optimalityCriteriaCase_ == 9;
3479 }
3484 @java.lang.Override
3486 if (simpleOptimalityCriteriaBuilder_ == null) {
3487 if (optimalityCriteriaCase_ == 9) {
3489 }
3491 } else {
3492 if (optimalityCriteriaCase_ == 9) {
3493 return simpleOptimalityCriteriaBuilder_.getMessage();
3494 }
3496 }
3497 }
3502 if (simpleOptimalityCriteriaBuilder_ == null) {
3503 if (value == null) {
3504 throw new NullPointerException();
3505 }
3506 optimalityCriteria_ = value;
3507 onChanged();
3508 } else {
3509 simpleOptimalityCriteriaBuilder_.setMessage(value);
3510 }
3511 optimalityCriteriaCase_ = 9;
3512 return this;
3513 }
3519 if (simpleOptimalityCriteriaBuilder_ == null) {
3520 optimalityCriteria_ = builderForValue.build();
3521 onChanged();
3522 } else {
3523 simpleOptimalityCriteriaBuilder_.setMessage(builderForValue.build());
3524 }
3525 optimalityCriteriaCase_ = 9;
3526 return this;
3527 }
3532 if (simpleOptimalityCriteriaBuilder_ == null) {
3533 if (optimalityCriteriaCase_ == 9 &&
3536 .mergeFrom(value).buildPartial();
3537 } else {
3538 optimalityCriteria_ = value;
3539 }
3540 onChanged();
3541 } else {
3542 if (optimalityCriteriaCase_ == 9) {
3543 simpleOptimalityCriteriaBuilder_.mergeFrom(value);
3544 } else {
3545 simpleOptimalityCriteriaBuilder_.setMessage(value);
3546 }
3547 }
3548 optimalityCriteriaCase_ = 9;
3549 return this;
3550 }
3555 if (simpleOptimalityCriteriaBuilder_ == null) {
3556 if (optimalityCriteriaCase_ == 9) {
3557 optimalityCriteriaCase_ = 0;
3558 optimalityCriteria_ = null;
3559 onChanged();
3560 }
3561 } else {
3562 if (optimalityCriteriaCase_ == 9) {
3563 optimalityCriteriaCase_ = 0;
3564 optimalityCriteria_ = null;
3565 }
3566 simpleOptimalityCriteriaBuilder_.clear();
3567 }
3568 return this;
3569 }
3574 return getSimpleOptimalityCriteriaFieldBuilder().getBuilder();
3575 }
3579 @java.lang.Override
3581 if ((optimalityCriteriaCase_ == 9) && (simpleOptimalityCriteriaBuilder_ != null)) {
3582 return simpleOptimalityCriteriaBuilder_.getMessageOrBuilder();
3583 } else {
3584 if (optimalityCriteriaCase_ == 9) {
3586 }
3588 }
3589 }
3593 private com.google.protobuf.SingleFieldBuilderV3<
3595 getSimpleOptimalityCriteriaFieldBuilder() {
3596 if (simpleOptimalityCriteriaBuilder_ == null) {
3597 if (!(optimalityCriteriaCase_ == 9)) {
3599 }
3600 simpleOptimalityCriteriaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
3603 getParentForChildren(),
3604 isClean());
3605 optimalityCriteria_ = null;
3606 }
3607 optimalityCriteriaCase_ = 9;
3608 onChanged();
3609 return simpleOptimalityCriteriaBuilder_;
3610 }
3611
3612 private com.google.protobuf.SingleFieldBuilderV3<
3618 @java.lang.Override
3620 return optimalityCriteriaCase_ == 10;
3621 }
3626 @java.lang.Override
3628 if (detailedOptimalityCriteriaBuilder_ == null) {
3629 if (optimalityCriteriaCase_ == 10) {
3631 }
3633 } else {
3634 if (optimalityCriteriaCase_ == 10) {
3635 return detailedOptimalityCriteriaBuilder_.getMessage();
3636 }
3638 }
3639 }
3644 if (detailedOptimalityCriteriaBuilder_ == null) {
3645 if (value == null) {
3646 throw new NullPointerException();
3647 }
3648 optimalityCriteria_ = value;
3649 onChanged();
3650 } else {
3651 detailedOptimalityCriteriaBuilder_.setMessage(value);
3652 }
3653 optimalityCriteriaCase_ = 10;
3654 return this;
3655 }
3661 if (detailedOptimalityCriteriaBuilder_ == null) {
3662 optimalityCriteria_ = builderForValue.build();
3663 onChanged();
3664 } else {
3665 detailedOptimalityCriteriaBuilder_.setMessage(builderForValue.build());
3666 }
3667 optimalityCriteriaCase_ = 10;
3668 return this;
3669 }
3674 if (detailedOptimalityCriteriaBuilder_ == null) {
3675 if (optimalityCriteriaCase_ == 10 &&
3678 .mergeFrom(value).buildPartial();
3679 } else {
3680 optimalityCriteria_ = value;
3681 }
3682 onChanged();
3683 } else {
3684 if (optimalityCriteriaCase_ == 10) {
3685 detailedOptimalityCriteriaBuilder_.mergeFrom(value);
3686 } else {
3687 detailedOptimalityCriteriaBuilder_.setMessage(value);
3688 }
3689 }
3690 optimalityCriteriaCase_ = 10;
3691 return this;
3692 }
3697 if (detailedOptimalityCriteriaBuilder_ == null) {
3698 if (optimalityCriteriaCase_ == 10) {
3699 optimalityCriteriaCase_ = 0;
3700 optimalityCriteria_ = null;
3701 onChanged();
3702 }
3703 } else {
3704 if (optimalityCriteriaCase_ == 10) {
3705 optimalityCriteriaCase_ = 0;
3706 optimalityCriteria_ = null;
3707 }
3708 detailedOptimalityCriteriaBuilder_.clear();
3709 }
3710 return this;
3711 }
3716 return getDetailedOptimalityCriteriaFieldBuilder().getBuilder();
3717 }
3721 @java.lang.Override
3723 if ((optimalityCriteriaCase_ == 10) && (detailedOptimalityCriteriaBuilder_ != null)) {
3724 return detailedOptimalityCriteriaBuilder_.getMessageOrBuilder();
3725 } else {
3726 if (optimalityCriteriaCase_ == 10) {
3728 }
3730 }
3731 }
3735 private com.google.protobuf.SingleFieldBuilderV3<
3737 getDetailedOptimalityCriteriaFieldBuilder() {
3738 if (detailedOptimalityCriteriaBuilder_ == null) {
3739 if (!(optimalityCriteriaCase_ == 10)) {
3741 }
3742 detailedOptimalityCriteriaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
3745 getParentForChildren(),
3746 isClean());
3747 optimalityCriteria_ = null;
3748 }
3749 optimalityCriteriaCase_ = 10;
3750 onChanged();
3751 return detailedOptimalityCriteriaBuilder_;
3752 }
3753
3754 private double epsOptimalAbsolute_ = 1e-06D;
3768 @java.lang.Override
3769 @java.lang.Deprecated public boolean hasEpsOptimalAbsolute() {
3770 return ((bitField0_ & 0x00000008) != 0);
3771 }
3785 @java.lang.Override
3786 @java.lang.Deprecated public double getEpsOptimalAbsolute() {
3787 return epsOptimalAbsolute_;
3788 }
3803 @java.lang.Deprecated public Builder setEpsOptimalAbsolute(double value) {
3804
3805 epsOptimalAbsolute_ = value;
3806 bitField0_ |= 0x00000008;
3807 onChanged();
3808 return this;
3809 }
3823 @java.lang.Deprecated public Builder clearEpsOptimalAbsolute() {
3824 bitField0_ = (bitField0_ & ~0x00000008);
3825 epsOptimalAbsolute_ = 1e-06D;
3826 onChanged();
3827 return this;
3828 }
3829
3830 private double epsOptimalRelative_ = 1e-06D;
3844 @java.lang.Override
3845 @java.lang.Deprecated public boolean hasEpsOptimalRelative() {
3846 return ((bitField0_ & 0x00000010) != 0);
3847 }
3861 @java.lang.Override
3862 @java.lang.Deprecated public double getEpsOptimalRelative() {
3863 return epsOptimalRelative_;
3864 }
3879 @java.lang.Deprecated public Builder setEpsOptimalRelative(double value) {
3880
3881 epsOptimalRelative_ = value;
3882 bitField0_ |= 0x00000010;
3883 onChanged();
3884 return this;
3885 }
3899 @java.lang.Deprecated public Builder clearEpsOptimalRelative() {
3900 bitField0_ = (bitField0_ & ~0x00000010);
3901 epsOptimalRelative_ = 1e-06D;
3902 onChanged();
3903 return this;
3904 }
3905
3906 private double epsPrimalInfeasible_ = 1e-08D;
3920 @java.lang.Override
3921 public boolean hasEpsPrimalInfeasible() {
3922 return ((bitField0_ & 0x00000020) != 0);
3923 }
3937 @java.lang.Override
3938 public double getEpsPrimalInfeasible() {
3939 return epsPrimalInfeasible_;
3940 }
3955 public Builder setEpsPrimalInfeasible(double value) {
3956
3957 epsPrimalInfeasible_ = value;
3958 bitField0_ |= 0x00000020;
3959 onChanged();
3960 return this;
3961 }
3976 bitField0_ = (bitField0_ & ~0x00000020);
3977 epsPrimalInfeasible_ = 1e-08D;
3978 onChanged();
3979 return this;
3980 }
3981
3982 private double epsDualInfeasible_ = 1e-08D;
3998 @java.lang.Override
3999 public boolean hasEpsDualInfeasible() {
4000 return ((bitField0_ & 0x00000040) != 0);
4001 }
4017 @java.lang.Override
4018 public double getEpsDualInfeasible() {
4019 return epsDualInfeasible_;
4020 }
4037 public Builder setEpsDualInfeasible(double value) {
4038
4039 epsDualInfeasible_ = value;
4040 bitField0_ |= 0x00000040;
4041 onChanged();
4042 return this;
4043 }
4060 bitField0_ = (bitField0_ & ~0x00000040);
4061 epsDualInfeasible_ = 1e-08D;
4062 onChanged();
4063 return this;
4064 }
4065
4066 private double timeSecLimit_ = Double.POSITIVE_INFINITY;
4076 @java.lang.Override
4077 public boolean hasTimeSecLimit() {
4078 return ((bitField0_ & 0x00000080) != 0);
4079 }
4089 @java.lang.Override
4090 public double getTimeSecLimit() {
4091 return timeSecLimit_;
4092 }
4103 public Builder setTimeSecLimit(double value) {
4104
4105 timeSecLimit_ = value;
4106 bitField0_ |= 0x00000080;
4107 onChanged();
4108 return this;
4109 }
4120 bitField0_ = (bitField0_ & ~0x00000080);
4121 timeSecLimit_ = Double.POSITIVE_INFINITY;
4122 onChanged();
4123 return this;
4124 }
4125
4126 private int iterationLimit_ = 2147483647;
4136 @java.lang.Override
4137 public boolean hasIterationLimit() {
4138 return ((bitField0_ & 0x00000100) != 0);
4139 }
4149 @java.lang.Override
4150 public int getIterationLimit() {
4151 return iterationLimit_;
4152 }
4163 public Builder setIterationLimit(int value) {
4164
4165 iterationLimit_ = value;
4166 bitField0_ |= 0x00000100;
4167 onChanged();
4168 return this;
4169 }
4180 bitField0_ = (bitField0_ & ~0x00000100);
4181 iterationLimit_ = 2147483647;
4182 onChanged();
4183 return this;
4184 }
4185
4186 private double kktMatrixPassLimit_ = Double.POSITIVE_INFINITY;
4196 @java.lang.Override
4197 public boolean hasKktMatrixPassLimit() {
4198 return ((bitField0_ & 0x00000200) != 0);
4199 }
4209 @java.lang.Override
4210 public double getKktMatrixPassLimit() {
4211 return kktMatrixPassLimit_;
4212 }
4223 public Builder setKktMatrixPassLimit(double value) {
4224
4225 kktMatrixPassLimit_ = value;
4226 bitField0_ |= 0x00000200;
4227 onChanged();
4228 return this;
4229 }
4240 bitField0_ = (bitField0_ & ~0x00000200);
4241 kktMatrixPassLimit_ = Double.POSITIVE_INFINITY;
4242 onChanged();
4243 return this;
4244 }
4245 @java.lang.Override
4247 final com.google.protobuf.UnknownFieldSet unknownFields) {
4248 return super.setUnknownFields(unknownFields);
4249 }
4250
4251 @java.lang.Override
4253 final com.google.protobuf.UnknownFieldSet unknownFields) {
4254 return super.mergeUnknownFields(unknownFields);
4255 }
4256
4257
4258 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.TerminationCriteria)
4259 }
4260
4261 // @@protoc_insertion_point(class_scope:operations_research.pdlp.TerminationCriteria)
4262 private static final operations_research.pdlp.Solvers.TerminationCriteria DEFAULT_INSTANCE;
4263 static {
4264 DEFAULT_INSTANCE = new operations_research.pdlp.Solvers.TerminationCriteria();
4265 }
4266
4268 return DEFAULT_INSTANCE;
4269 }
4270
4271 @java.lang.Deprecated public static final com.google.protobuf.Parser<TerminationCriteria>
4272 PARSER = new com.google.protobuf.AbstractParser<TerminationCriteria>() {
4273 @java.lang.Override
4274 public TerminationCriteria parsePartialFrom(
4275 com.google.protobuf.CodedInputStream input,
4276 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4277 throws com.google.protobuf.InvalidProtocolBufferException {
4278 Builder builder = newBuilder();
4279 try {
4280 builder.mergeFrom(input, extensionRegistry);
4281 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4282 throw e.setUnfinishedMessage(builder.buildPartial());
4283 } catch (com.google.protobuf.UninitializedMessageException e) {
4284 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
4285 } catch (java.io.IOException e) {
4286 throw new com.google.protobuf.InvalidProtocolBufferException(e)
4287 .setUnfinishedMessage(builder.buildPartial());
4288 }
4289 return builder.buildPartial();
4290 }
4291 };
4292
4293 public static com.google.protobuf.Parser<TerminationCriteria> parser() {
4294 return PARSER;
4295 }
4296
4297 @java.lang.Override
4298 public com.google.protobuf.Parser<TerminationCriteria> getParserForType() {
4299 return PARSER;
4300 }
4301
4302 @java.lang.Override
4306
4307 }
4308
4309 public interface AdaptiveLinesearchParamsOrBuilder extends
4310 // @@protoc_insertion_point(interface_extends:operations_research.pdlp.AdaptiveLinesearchParams)
4311 com.google.protobuf.MessageOrBuilder {
4312
4337
4360 }
4370 public static final class AdaptiveLinesearchParams extends
4371 com.google.protobuf.GeneratedMessageV3 implements
4372 // @@protoc_insertion_point(message_implements:operations_research.pdlp.AdaptiveLinesearchParams)
4374 private static final long serialVersionUID = 0L;
4375 // Use AdaptiveLinesearchParams.newBuilder() to construct.
4376 private AdaptiveLinesearchParams(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
4377 super(builder);
4378 }
4379 private AdaptiveLinesearchParams() {
4380 stepSizeReductionExponent_ = 0.3D;
4381 stepSizeGrowthExponent_ = 0.6D;
4382 }
4383
4384 @java.lang.Override
4385 @SuppressWarnings({"unused"})
4386 protected java.lang.Object newInstance(
4387 UnusedPrivateParameter unused) {
4388 return new AdaptiveLinesearchParams();
4389 }
4390
4391 public static final com.google.protobuf.Descriptors.Descriptor
4393 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_AdaptiveLinesearchParams_descriptor;
4394 }
4395
4396 @java.lang.Override
4397 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
4399 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_AdaptiveLinesearchParams_fieldAccessorTable
4400 .ensureFieldAccessorsInitialized(
4402 }
4403
4404 private int bitField0_;
4406 private double stepSizeReductionExponent_ = 0.3D;
4418 @java.lang.Override
4420 return ((bitField0_ & 0x00000001) != 0);
4421 }
4433 @java.lang.Override
4435 return stepSizeReductionExponent_;
4436 }
4437
4438 public static final int STEP_SIZE_GROWTH_EXPONENT_FIELD_NUMBER = 2;
4439 private double stepSizeGrowthExponent_ = 0.6D;
4450 @java.lang.Override
4451 public boolean hasStepSizeGrowthExponent() {
4452 return ((bitField0_ & 0x00000002) != 0);
4453 }
4464 @java.lang.Override
4466 return stepSizeGrowthExponent_;
4467 }
4468
4469 private byte memoizedIsInitialized = -1;
4470 @java.lang.Override
4471 public final boolean isInitialized() {
4472 byte isInitialized = memoizedIsInitialized;
4473 if (isInitialized == 1) return true;
4474 if (isInitialized == 0) return false;
4475
4476 memoizedIsInitialized = 1;
4477 return true;
4478 }
4479
4480 @java.lang.Override
4481 public void writeTo(com.google.protobuf.CodedOutputStream output)
4482 throws java.io.IOException {
4483 if (((bitField0_ & 0x00000001) != 0)) {
4484 output.writeDouble(1, stepSizeReductionExponent_);
4485 }
4486 if (((bitField0_ & 0x00000002) != 0)) {
4487 output.writeDouble(2, stepSizeGrowthExponent_);
4488 }
4489 getUnknownFields().writeTo(output);
4490 }
4491
4492 @java.lang.Override
4493 public int getSerializedSize() {
4494 int size = memoizedSize;
4495 if (size != -1) return size;
4496
4497 size = 0;
4498 if (((bitField0_ & 0x00000001) != 0)) {
4499 size += com.google.protobuf.CodedOutputStream
4500 .computeDoubleSize(1, stepSizeReductionExponent_);
4501 }
4502 if (((bitField0_ & 0x00000002) != 0)) {
4503 size += com.google.protobuf.CodedOutputStream
4504 .computeDoubleSize(2, stepSizeGrowthExponent_);
4505 }
4506 size += getUnknownFields().getSerializedSize();
4507 memoizedSize = size;
4508 return size;
4509 }
4510
4511 @java.lang.Override
4512 public boolean equals(final java.lang.Object obj) {
4513 if (obj == this) {
4514 return true;
4515 }
4517 return super.equals(obj);
4518 }
4520
4521 if (hasStepSizeReductionExponent() != other.hasStepSizeReductionExponent()) return false;
4523 if (java.lang.Double.doubleToLongBits(getStepSizeReductionExponent())
4524 != java.lang.Double.doubleToLongBits(
4525 other.getStepSizeReductionExponent())) return false;
4526 }
4527 if (hasStepSizeGrowthExponent() != other.hasStepSizeGrowthExponent()) return false;
4529 if (java.lang.Double.doubleToLongBits(getStepSizeGrowthExponent())
4530 != java.lang.Double.doubleToLongBits(
4531 other.getStepSizeGrowthExponent())) return false;
4532 }
4533 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
4534 return true;
4535 }
4536
4537 @java.lang.Override
4538 public int hashCode() {
4539 if (memoizedHashCode != 0) {
4540 return memoizedHashCode;
4541 }
4542 int hash = 41;
4543 hash = (19 * hash) + getDescriptor().hashCode();
4545 hash = (37 * hash) + STEP_SIZE_REDUCTION_EXPONENT_FIELD_NUMBER;
4546 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
4547 java.lang.Double.doubleToLongBits(getStepSizeReductionExponent()));
4548 }
4550 hash = (37 * hash) + STEP_SIZE_GROWTH_EXPONENT_FIELD_NUMBER;
4551 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
4552 java.lang.Double.doubleToLongBits(getStepSizeGrowthExponent()));
4553 }
4554 hash = (29 * hash) + getUnknownFields().hashCode();
4555 memoizedHashCode = hash;
4556 return hash;
4557 }
4558
4560 java.nio.ByteBuffer data)
4561 throws com.google.protobuf.InvalidProtocolBufferException {
4562 return PARSER.parseFrom(data);
4563 }
4565 java.nio.ByteBuffer data,
4566 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4567 throws com.google.protobuf.InvalidProtocolBufferException {
4568 return PARSER.parseFrom(data, extensionRegistry);
4569 }
4571 com.google.protobuf.ByteString data)
4572 throws com.google.protobuf.InvalidProtocolBufferException {
4573 return PARSER.parseFrom(data);
4574 }
4576 com.google.protobuf.ByteString data,
4577 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4578 throws com.google.protobuf.InvalidProtocolBufferException {
4579 return PARSER.parseFrom(data, extensionRegistry);
4580 }
4582 throws com.google.protobuf.InvalidProtocolBufferException {
4583 return PARSER.parseFrom(data);
4584 }
4586 byte[] data,
4587 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4588 throws com.google.protobuf.InvalidProtocolBufferException {
4589 return PARSER.parseFrom(data, extensionRegistry);
4590 }
4592 throws java.io.IOException {
4593 return com.google.protobuf.GeneratedMessageV3
4594 .parseWithIOException(PARSER, input);
4595 }
4597 java.io.InputStream input,
4598 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4599 throws java.io.IOException {
4600 return com.google.protobuf.GeneratedMessageV3
4601 .parseWithIOException(PARSER, input, extensionRegistry);
4602 }
4603
4605 throws java.io.IOException {
4606 return com.google.protobuf.GeneratedMessageV3
4607 .parseDelimitedWithIOException(PARSER, input);
4608 }
4609
4611 java.io.InputStream input,
4612 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4613 throws java.io.IOException {
4614 return com.google.protobuf.GeneratedMessageV3
4615 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
4616 }
4618 com.google.protobuf.CodedInputStream input)
4619 throws java.io.IOException {
4620 return com.google.protobuf.GeneratedMessageV3
4621 .parseWithIOException(PARSER, input);
4622 }
4624 com.google.protobuf.CodedInputStream input,
4625 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4626 throws java.io.IOException {
4627 return com.google.protobuf.GeneratedMessageV3
4628 .parseWithIOException(PARSER, input, extensionRegistry);
4629 }
4630
4631 @java.lang.Override
4632 public Builder newBuilderForType() { return newBuilder(); }
4633 public static Builder newBuilder() {
4634 return DEFAULT_INSTANCE.toBuilder();
4635 }
4637 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
4638 }
4639 @java.lang.Override
4641 return this == DEFAULT_INSTANCE
4642 ? new Builder() : new Builder().mergeFrom(this);
4643 }
4644
4645 @java.lang.Override
4647 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
4648 Builder builder = new Builder(parent);
4649 return builder;
4650 }
4660 public static final class Builder extends
4661 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
4662 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.AdaptiveLinesearchParams)
4664 public static final com.google.protobuf.Descriptors.Descriptor
4666 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_AdaptiveLinesearchParams_descriptor;
4667 }
4668
4669 @java.lang.Override
4670 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
4672 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_AdaptiveLinesearchParams_fieldAccessorTable
4673 .ensureFieldAccessorsInitialized(
4675 }
4676
4677 // Construct using operations_research.pdlp.Solvers.AdaptiveLinesearchParams.newBuilder()
4678 private Builder() {
4679
4680 }
4681
4682 private Builder(
4683 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
4684 super(parent);
4685
4686 }
4687 @java.lang.Override
4688 public Builder clear() {
4689 super.clear();
4690 bitField0_ = 0;
4691 stepSizeReductionExponent_ = 0.3D;
4692 stepSizeGrowthExponent_ = 0.6D;
4693 return this;
4694 }
4695
4696 @java.lang.Override
4697 public com.google.protobuf.Descriptors.Descriptor
4699 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_AdaptiveLinesearchParams_descriptor;
4700 }
4701
4702 @java.lang.Override
4706
4707 @java.lang.Override
4710 if (!result.isInitialized()) {
4711 throw newUninitializedMessageException(result);
4712 }
4713 return result;
4714 }
4715
4716 @java.lang.Override
4719 if (bitField0_ != 0) { buildPartial0(result); }
4720 onBuilt();
4721 return result;
4722 }
4723
4724 private void buildPartial0(operations_research.pdlp.Solvers.AdaptiveLinesearchParams result) {
4725 int from_bitField0_ = bitField0_;
4726 int to_bitField0_ = 0;
4727 if (((from_bitField0_ & 0x00000001) != 0)) {
4728 result.stepSizeReductionExponent_ = stepSizeReductionExponent_;
4729 to_bitField0_ |= 0x00000001;
4730 }
4731 if (((from_bitField0_ & 0x00000002) != 0)) {
4732 result.stepSizeGrowthExponent_ = stepSizeGrowthExponent_;
4733 to_bitField0_ |= 0x00000002;
4734 }
4735 result.bitField0_ |= to_bitField0_;
4736 }
4737
4738 @java.lang.Override
4739 public Builder clone() {
4740 return super.clone();
4741 }
4742 @java.lang.Override
4744 com.google.protobuf.Descriptors.FieldDescriptor field,
4745 java.lang.Object value) {
4746 return super.setField(field, value);
4747 }
4748 @java.lang.Override
4750 com.google.protobuf.Descriptors.FieldDescriptor field) {
4751 return super.clearField(field);
4752 }
4753 @java.lang.Override
4755 com.google.protobuf.Descriptors.OneofDescriptor oneof) {
4756 return super.clearOneof(oneof);
4757 }
4758 @java.lang.Override
4760 com.google.protobuf.Descriptors.FieldDescriptor field,
4761 int index, java.lang.Object value) {
4762 return super.setRepeatedField(field, index, value);
4763 }
4764 @java.lang.Override
4766 com.google.protobuf.Descriptors.FieldDescriptor field,
4767 java.lang.Object value) {
4768 return super.addRepeatedField(field, value);
4769 }
4770 @java.lang.Override
4771 public Builder mergeFrom(com.google.protobuf.Message other) {
4774 } else {
4775 super.mergeFrom(other);
4776 return this;
4777 }
4778 }
4779
4782 if (other.hasStepSizeReductionExponent()) {
4783 setStepSizeReductionExponent(other.getStepSizeReductionExponent());
4784 }
4785 if (other.hasStepSizeGrowthExponent()) {
4786 setStepSizeGrowthExponent(other.getStepSizeGrowthExponent());
4787 }
4788 this.mergeUnknownFields(other.getUnknownFields());
4789 onChanged();
4790 return this;
4791 }
4792
4793 @java.lang.Override
4794 public final boolean isInitialized() {
4795 return true;
4796 }
4797
4798 @java.lang.Override
4800 com.google.protobuf.CodedInputStream input,
4801 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4802 throws java.io.IOException {
4803 if (extensionRegistry == null) {
4804 throw new java.lang.NullPointerException();
4805 }
4806 try {
4807 boolean done = false;
4808 while (!done) {
4809 int tag = input.readTag();
4810 switch (tag) {
4811 case 0:
4812 done = true;
4813 break;
4814 case 9: {
4815 stepSizeReductionExponent_ = input.readDouble();
4816 bitField0_ |= 0x00000001;
4817 break;
4818 } // case 9
4819 case 17: {
4820 stepSizeGrowthExponent_ = input.readDouble();
4821 bitField0_ |= 0x00000002;
4822 break;
4823 } // case 17
4824 default: {
4825 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
4826 done = true; // was an endgroup tag
4827 }
4828 break;
4829 } // default:
4830 } // switch (tag)
4831 } // while (!done)
4832 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4833 throw e.unwrapIOException();
4834 } finally {
4835 onChanged();
4836 } // finally
4837 return this;
4838 }
4839 private int bitField0_;
4840
4841 private double stepSizeReductionExponent_ = 0.3D;
4853 @java.lang.Override
4855 return ((bitField0_ & 0x00000001) != 0);
4856 }
4868 @java.lang.Override
4870 return stepSizeReductionExponent_;
4871 }
4885
4886 stepSizeReductionExponent_ = value;
4887 bitField0_ |= 0x00000001;
4888 onChanged();
4889 return this;
4890 }
4903 bitField0_ = (bitField0_ & ~0x00000001);
4904 stepSizeReductionExponent_ = 0.3D;
4905 onChanged();
4906 return this;
4907 }
4908
4909 private double stepSizeGrowthExponent_ = 0.6D;
4920 @java.lang.Override
4921 public boolean hasStepSizeGrowthExponent() {
4922 return ((bitField0_ & 0x00000002) != 0);
4923 }
4934 @java.lang.Override
4936 return stepSizeGrowthExponent_;
4937 }
4949 public Builder setStepSizeGrowthExponent(double value) {
4950
4951 stepSizeGrowthExponent_ = value;
4952 bitField0_ |= 0x00000002;
4953 onChanged();
4954 return this;
4955 }
4967 bitField0_ = (bitField0_ & ~0x00000002);
4968 stepSizeGrowthExponent_ = 0.6D;
4969 onChanged();
4970 return this;
4971 }
4972 @java.lang.Override
4974 final com.google.protobuf.UnknownFieldSet unknownFields) {
4975 return super.setUnknownFields(unknownFields);
4976 }
4977
4978 @java.lang.Override
4980 final com.google.protobuf.UnknownFieldSet unknownFields) {
4981 return super.mergeUnknownFields(unknownFields);
4982 }
4983
4984
4985 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.AdaptiveLinesearchParams)
4986 }
4987
4988 // @@protoc_insertion_point(class_scope:operations_research.pdlp.AdaptiveLinesearchParams)
4989 private static final operations_research.pdlp.Solvers.AdaptiveLinesearchParams DEFAULT_INSTANCE;
4990 static {
4992 }
4993
4995 return DEFAULT_INSTANCE;
4996 }
4997
4998 @java.lang.Deprecated public static final com.google.protobuf.Parser<AdaptiveLinesearchParams>
4999 PARSER = new com.google.protobuf.AbstractParser<AdaptiveLinesearchParams>() {
5000 @java.lang.Override
5001 public AdaptiveLinesearchParams parsePartialFrom(
5002 com.google.protobuf.CodedInputStream input,
5003 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5004 throws com.google.protobuf.InvalidProtocolBufferException {
5005 Builder builder = newBuilder();
5006 try {
5007 builder.mergeFrom(input, extensionRegistry);
5008 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5009 throw e.setUnfinishedMessage(builder.buildPartial());
5010 } catch (com.google.protobuf.UninitializedMessageException e) {
5011 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
5012 } catch (java.io.IOException e) {
5013 throw new com.google.protobuf.InvalidProtocolBufferException(e)
5014 .setUnfinishedMessage(builder.buildPartial());
5015 }
5016 return builder.buildPartial();
5017 }
5018 };
5019
5020 public static com.google.protobuf.Parser<AdaptiveLinesearchParams> parser() {
5021 return PARSER;
5022 }
5023
5024 @java.lang.Override
5025 public com.google.protobuf.Parser<AdaptiveLinesearchParams> getParserForType() {
5026 return PARSER;
5027 }
5028
5029 @java.lang.Override
5033
5034 }
5035
5036 public interface MalitskyPockParamsOrBuilder extends
5037 // @@protoc_insertion_point(interface_extends:operations_research.pdlp.MalitskyPockParams)
5038 com.google.protobuf.MessageOrBuilder {
5039
5064
5091
5118 }
5122 public static final class MalitskyPockParams extends
5123 com.google.protobuf.GeneratedMessageV3 implements
5124 // @@protoc_insertion_point(message_implements:operations_research.pdlp.MalitskyPockParams)
5126 private static final long serialVersionUID = 0L;
5127 // Use MalitskyPockParams.newBuilder() to construct.
5128 private MalitskyPockParams(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
5129 super(builder);
5130 }
5131 private MalitskyPockParams() {
5132 stepSizeDownscalingFactor_ = 0.7D;
5133 linesearchContractionFactor_ = 0.99D;
5134 stepSizeInterpolation_ = 1D;
5135 }
5136
5137 @java.lang.Override
5138 @SuppressWarnings({"unused"})
5139 protected java.lang.Object newInstance(
5140 UnusedPrivateParameter unused) {
5141 return new MalitskyPockParams();
5142 }
5143
5144 public static final com.google.protobuf.Descriptors.Descriptor
5146 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_MalitskyPockParams_descriptor;
5147 }
5148
5149 @java.lang.Override
5150 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
5152 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_MalitskyPockParams_fieldAccessorTable
5153 .ensureFieldAccessorsInitialized(
5155 }
5156
5157 private int bitField0_;
5159 private double stepSizeDownscalingFactor_ = 0.7D;
5171 @java.lang.Override
5173 return ((bitField0_ & 0x00000001) != 0);
5174 }
5186 @java.lang.Override
5188 return stepSizeDownscalingFactor_;
5189 }
5190
5192 private double linesearchContractionFactor_ = 0.99D;
5205 @java.lang.Override
5207 return ((bitField0_ & 0x00000002) != 0);
5208 }
5221 @java.lang.Override
5223 return linesearchContractionFactor_;
5224 }
5225
5226 public static final int STEP_SIZE_INTERPOLATION_FIELD_NUMBER = 3;
5227 private double stepSizeInterpolation_ = 1D;
5240 @java.lang.Override
5241 public boolean hasStepSizeInterpolation() {
5242 return ((bitField0_ & 0x00000004) != 0);
5243 }
5256 @java.lang.Override
5258 return stepSizeInterpolation_;
5259 }
5260
5261 private byte memoizedIsInitialized = -1;
5262 @java.lang.Override
5263 public final boolean isInitialized() {
5264 byte isInitialized = memoizedIsInitialized;
5265 if (isInitialized == 1) return true;
5266 if (isInitialized == 0) return false;
5267
5268 memoizedIsInitialized = 1;
5269 return true;
5270 }
5271
5272 @java.lang.Override
5273 public void writeTo(com.google.protobuf.CodedOutputStream output)
5274 throws java.io.IOException {
5275 if (((bitField0_ & 0x00000001) != 0)) {
5276 output.writeDouble(1, stepSizeDownscalingFactor_);
5277 }
5278 if (((bitField0_ & 0x00000002) != 0)) {
5279 output.writeDouble(2, linesearchContractionFactor_);
5280 }
5281 if (((bitField0_ & 0x00000004) != 0)) {
5282 output.writeDouble(3, stepSizeInterpolation_);
5283 }
5284 getUnknownFields().writeTo(output);
5285 }
5286
5287 @java.lang.Override
5288 public int getSerializedSize() {
5289 int size = memoizedSize;
5290 if (size != -1) return size;
5291
5292 size = 0;
5293 if (((bitField0_ & 0x00000001) != 0)) {
5294 size += com.google.protobuf.CodedOutputStream
5295 .computeDoubleSize(1, stepSizeDownscalingFactor_);
5296 }
5297 if (((bitField0_ & 0x00000002) != 0)) {
5298 size += com.google.protobuf.CodedOutputStream
5299 .computeDoubleSize(2, linesearchContractionFactor_);
5300 }
5301 if (((bitField0_ & 0x00000004) != 0)) {
5302 size += com.google.protobuf.CodedOutputStream
5303 .computeDoubleSize(3, stepSizeInterpolation_);
5304 }
5305 size += getUnknownFields().getSerializedSize();
5306 memoizedSize = size;
5307 return size;
5308 }
5309
5310 @java.lang.Override
5311 public boolean equals(final java.lang.Object obj) {
5312 if (obj == this) {
5313 return true;
5314 }
5315 if (!(obj instanceof operations_research.pdlp.Solvers.MalitskyPockParams)) {
5316 return super.equals(obj);
5317 }
5319
5320 if (hasStepSizeDownscalingFactor() != other.hasStepSizeDownscalingFactor()) return false;
5322 if (java.lang.Double.doubleToLongBits(getStepSizeDownscalingFactor())
5323 != java.lang.Double.doubleToLongBits(
5324 other.getStepSizeDownscalingFactor())) return false;
5325 }
5328 if (java.lang.Double.doubleToLongBits(getLinesearchContractionFactor())
5329 != java.lang.Double.doubleToLongBits(
5330 other.getLinesearchContractionFactor())) return false;
5331 }
5332 if (hasStepSizeInterpolation() != other.hasStepSizeInterpolation()) return false;
5334 if (java.lang.Double.doubleToLongBits(getStepSizeInterpolation())
5335 != java.lang.Double.doubleToLongBits(
5336 other.getStepSizeInterpolation())) return false;
5337 }
5338 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
5339 return true;
5340 }
5341
5342 @java.lang.Override
5343 public int hashCode() {
5344 if (memoizedHashCode != 0) {
5345 return memoizedHashCode;
5346 }
5347 int hash = 41;
5348 hash = (19 * hash) + getDescriptor().hashCode();
5350 hash = (37 * hash) + STEP_SIZE_DOWNSCALING_FACTOR_FIELD_NUMBER;
5351 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
5352 java.lang.Double.doubleToLongBits(getStepSizeDownscalingFactor()));
5353 }
5355 hash = (37 * hash) + LINESEARCH_CONTRACTION_FACTOR_FIELD_NUMBER;
5356 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
5357 java.lang.Double.doubleToLongBits(getLinesearchContractionFactor()));
5358 }
5360 hash = (37 * hash) + STEP_SIZE_INTERPOLATION_FIELD_NUMBER;
5361 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
5362 java.lang.Double.doubleToLongBits(getStepSizeInterpolation()));
5363 }
5364 hash = (29 * hash) + getUnknownFields().hashCode();
5365 memoizedHashCode = hash;
5366 return hash;
5367 }
5368
5370 java.nio.ByteBuffer data)
5371 throws com.google.protobuf.InvalidProtocolBufferException {
5372 return PARSER.parseFrom(data);
5373 }
5375 java.nio.ByteBuffer data,
5376 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5377 throws com.google.protobuf.InvalidProtocolBufferException {
5378 return PARSER.parseFrom(data, extensionRegistry);
5379 }
5381 com.google.protobuf.ByteString data)
5382 throws com.google.protobuf.InvalidProtocolBufferException {
5383 return PARSER.parseFrom(data);
5384 }
5386 com.google.protobuf.ByteString data,
5387 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5388 throws com.google.protobuf.InvalidProtocolBufferException {
5389 return PARSER.parseFrom(data, extensionRegistry);
5390 }
5392 throws com.google.protobuf.InvalidProtocolBufferException {
5393 return PARSER.parseFrom(data);
5394 }
5396 byte[] data,
5397 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5398 throws com.google.protobuf.InvalidProtocolBufferException {
5399 return PARSER.parseFrom(data, extensionRegistry);
5400 }
5402 throws java.io.IOException {
5403 return com.google.protobuf.GeneratedMessageV3
5404 .parseWithIOException(PARSER, input);
5405 }
5407 java.io.InputStream input,
5408 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5409 throws java.io.IOException {
5410 return com.google.protobuf.GeneratedMessageV3
5411 .parseWithIOException(PARSER, input, extensionRegistry);
5412 }
5413
5415 throws java.io.IOException {
5416 return com.google.protobuf.GeneratedMessageV3
5417 .parseDelimitedWithIOException(PARSER, input);
5418 }
5419
5421 java.io.InputStream input,
5422 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5423 throws java.io.IOException {
5424 return com.google.protobuf.GeneratedMessageV3
5425 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
5426 }
5428 com.google.protobuf.CodedInputStream input)
5429 throws java.io.IOException {
5430 return com.google.protobuf.GeneratedMessageV3
5431 .parseWithIOException(PARSER, input);
5432 }
5434 com.google.protobuf.CodedInputStream input,
5435 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5436 throws java.io.IOException {
5437 return com.google.protobuf.GeneratedMessageV3
5438 .parseWithIOException(PARSER, input, extensionRegistry);
5439 }
5440
5441 @java.lang.Override
5442 public Builder newBuilderForType() { return newBuilder(); }
5443 public static Builder newBuilder() {
5444 return DEFAULT_INSTANCE.toBuilder();
5445 }
5447 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
5448 }
5449 @java.lang.Override
5451 return this == DEFAULT_INSTANCE
5452 ? new Builder() : new Builder().mergeFrom(this);
5453 }
5454
5455 @java.lang.Override
5457 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
5458 Builder builder = new Builder(parent);
5459 return builder;
5460 }
5464 public static final class Builder extends
5465 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
5466 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.MalitskyPockParams)
5468 public static final com.google.protobuf.Descriptors.Descriptor
5470 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_MalitskyPockParams_descriptor;
5471 }
5472
5473 @java.lang.Override
5474 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
5476 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_MalitskyPockParams_fieldAccessorTable
5477 .ensureFieldAccessorsInitialized(
5479 }
5480
5481 // Construct using operations_research.pdlp.Solvers.MalitskyPockParams.newBuilder()
5482 private Builder() {
5483
5484 }
5485
5486 private Builder(
5487 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
5488 super(parent);
5489
5490 }
5491 @java.lang.Override
5492 public Builder clear() {
5493 super.clear();
5494 bitField0_ = 0;
5495 stepSizeDownscalingFactor_ = 0.7D;
5496 linesearchContractionFactor_ = 0.99D;
5497 stepSizeInterpolation_ = 1D;
5498 return this;
5499 }
5500
5501 @java.lang.Override
5502 public com.google.protobuf.Descriptors.Descriptor
5504 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_MalitskyPockParams_descriptor;
5505 }
5506
5507 @java.lang.Override
5511
5512 @java.lang.Override
5515 if (!result.isInitialized()) {
5516 throw newUninitializedMessageException(result);
5517 }
5518 return result;
5519 }
5520
5521 @java.lang.Override
5524 if (bitField0_ != 0) { buildPartial0(result); }
5525 onBuilt();
5526 return result;
5527 }
5528
5529 private void buildPartial0(operations_research.pdlp.Solvers.MalitskyPockParams result) {
5530 int from_bitField0_ = bitField0_;
5531 int to_bitField0_ = 0;
5532 if (((from_bitField0_ & 0x00000001) != 0)) {
5533 result.stepSizeDownscalingFactor_ = stepSizeDownscalingFactor_;
5534 to_bitField0_ |= 0x00000001;
5535 }
5536 if (((from_bitField0_ & 0x00000002) != 0)) {
5537 result.linesearchContractionFactor_ = linesearchContractionFactor_;
5538 to_bitField0_ |= 0x00000002;
5539 }
5540 if (((from_bitField0_ & 0x00000004) != 0)) {
5541 result.stepSizeInterpolation_ = stepSizeInterpolation_;
5542 to_bitField0_ |= 0x00000004;
5543 }
5544 result.bitField0_ |= to_bitField0_;
5545 }
5546
5547 @java.lang.Override
5548 public Builder clone() {
5549 return super.clone();
5550 }
5551 @java.lang.Override
5553 com.google.protobuf.Descriptors.FieldDescriptor field,
5554 java.lang.Object value) {
5555 return super.setField(field, value);
5556 }
5557 @java.lang.Override
5559 com.google.protobuf.Descriptors.FieldDescriptor field) {
5560 return super.clearField(field);
5561 }
5562 @java.lang.Override
5564 com.google.protobuf.Descriptors.OneofDescriptor oneof) {
5565 return super.clearOneof(oneof);
5566 }
5567 @java.lang.Override
5569 com.google.protobuf.Descriptors.FieldDescriptor field,
5570 int index, java.lang.Object value) {
5571 return super.setRepeatedField(field, index, value);
5572 }
5573 @java.lang.Override
5575 com.google.protobuf.Descriptors.FieldDescriptor field,
5576 java.lang.Object value) {
5577 return super.addRepeatedField(field, value);
5578 }
5579 @java.lang.Override
5580 public Builder mergeFrom(com.google.protobuf.Message other) {
5581 if (other instanceof operations_research.pdlp.Solvers.MalitskyPockParams) {
5583 } else {
5584 super.mergeFrom(other);
5585 return this;
5586 }
5587 }
5588
5591 if (other.hasStepSizeDownscalingFactor()) {
5592 setStepSizeDownscalingFactor(other.getStepSizeDownscalingFactor());
5593 }
5594 if (other.hasLinesearchContractionFactor()) {
5595 setLinesearchContractionFactor(other.getLinesearchContractionFactor());
5596 }
5597 if (other.hasStepSizeInterpolation()) {
5598 setStepSizeInterpolation(other.getStepSizeInterpolation());
5599 }
5600 this.mergeUnknownFields(other.getUnknownFields());
5601 onChanged();
5602 return this;
5603 }
5604
5605 @java.lang.Override
5606 public final boolean isInitialized() {
5607 return true;
5608 }
5609
5610 @java.lang.Override
5612 com.google.protobuf.CodedInputStream input,
5613 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5614 throws java.io.IOException {
5615 if (extensionRegistry == null) {
5616 throw new java.lang.NullPointerException();
5617 }
5618 try {
5619 boolean done = false;
5620 while (!done) {
5621 int tag = input.readTag();
5622 switch (tag) {
5623 case 0:
5624 done = true;
5625 break;
5626 case 9: {
5627 stepSizeDownscalingFactor_ = input.readDouble();
5628 bitField0_ |= 0x00000001;
5629 break;
5630 } // case 9
5631 case 17: {
5632 linesearchContractionFactor_ = input.readDouble();
5633 bitField0_ |= 0x00000002;
5634 break;
5635 } // case 17
5636 case 25: {
5637 stepSizeInterpolation_ = input.readDouble();
5638 bitField0_ |= 0x00000004;
5639 break;
5640 } // case 25
5641 default: {
5642 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
5643 done = true; // was an endgroup tag
5644 }
5645 break;
5646 } // default:
5647 } // switch (tag)
5648 } // while (!done)
5649 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5650 throw e.unwrapIOException();
5651 } finally {
5652 onChanged();
5653 } // finally
5654 return this;
5655 }
5656 private int bitField0_;
5657
5658 private double stepSizeDownscalingFactor_ = 0.7D;
5670 @java.lang.Override
5672 return ((bitField0_ & 0x00000001) != 0);
5673 }
5685 @java.lang.Override
5687 return stepSizeDownscalingFactor_;
5688 }
5702
5703 stepSizeDownscalingFactor_ = value;
5704 bitField0_ |= 0x00000001;
5705 onChanged();
5706 return this;
5707 }
5720 bitField0_ = (bitField0_ & ~0x00000001);
5721 stepSizeDownscalingFactor_ = 0.7D;
5722 onChanged();
5723 return this;
5724 }
5725
5726 private double linesearchContractionFactor_ = 0.99D;
5739 @java.lang.Override
5741 return ((bitField0_ & 0x00000002) != 0);
5742 }
5755 @java.lang.Override
5757 return linesearchContractionFactor_;
5758 }
5773
5774 linesearchContractionFactor_ = value;
5775 bitField0_ |= 0x00000002;
5776 onChanged();
5777 return this;
5778 }
5792 bitField0_ = (bitField0_ & ~0x00000002);
5793 linesearchContractionFactor_ = 0.99D;
5794 onChanged();
5795 return this;
5796 }
5797
5798 private double stepSizeInterpolation_ = 1D;
5811 @java.lang.Override
5812 public boolean hasStepSizeInterpolation() {
5813 return ((bitField0_ & 0x00000004) != 0);
5814 }
5827 @java.lang.Override
5829 return stepSizeInterpolation_;
5830 }
5844 public Builder setStepSizeInterpolation(double value) {
5845
5846 stepSizeInterpolation_ = value;
5847 bitField0_ |= 0x00000004;
5848 onChanged();
5849 return this;
5850 }
5864 bitField0_ = (bitField0_ & ~0x00000004);
5865 stepSizeInterpolation_ = 1D;
5866 onChanged();
5867 return this;
5868 }
5869 @java.lang.Override
5871 final com.google.protobuf.UnknownFieldSet unknownFields) {
5872 return super.setUnknownFields(unknownFields);
5873 }
5874
5875 @java.lang.Override
5877 final com.google.protobuf.UnknownFieldSet unknownFields) {
5878 return super.mergeUnknownFields(unknownFields);
5879 }
5880
5881
5882 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.MalitskyPockParams)
5883 }
5884
5885 // @@protoc_insertion_point(class_scope:operations_research.pdlp.MalitskyPockParams)
5886 private static final operations_research.pdlp.Solvers.MalitskyPockParams DEFAULT_INSTANCE;
5887 static {
5888 DEFAULT_INSTANCE = new operations_research.pdlp.Solvers.MalitskyPockParams();
5889 }
5890
5892 return DEFAULT_INSTANCE;
5893 }
5894
5895 @java.lang.Deprecated public static final com.google.protobuf.Parser<MalitskyPockParams>
5896 PARSER = new com.google.protobuf.AbstractParser<MalitskyPockParams>() {
5897 @java.lang.Override
5898 public MalitskyPockParams parsePartialFrom(
5899 com.google.protobuf.CodedInputStream input,
5900 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5901 throws com.google.protobuf.InvalidProtocolBufferException {
5902 Builder builder = newBuilder();
5903 try {
5904 builder.mergeFrom(input, extensionRegistry);
5905 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5906 throw e.setUnfinishedMessage(builder.buildPartial());
5907 } catch (com.google.protobuf.UninitializedMessageException e) {
5908 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
5909 } catch (java.io.IOException e) {
5910 throw new com.google.protobuf.InvalidProtocolBufferException(e)
5911 .setUnfinishedMessage(builder.buildPartial());
5912 }
5913 return builder.buildPartial();
5914 }
5915 };
5916
5917 public static com.google.protobuf.Parser<MalitskyPockParams> parser() {
5918 return PARSER;
5919 }
5920
5921 @java.lang.Override
5922 public com.google.protobuf.Parser<MalitskyPockParams> getParserForType() {
5923 return PARSER;
5924 }
5925
5926 @java.lang.Override
5930
5931 }
5932
5934 // @@protoc_insertion_point(interface_extends:operations_research.pdlp.PrimalDualHybridGradientParams)
5935 com.google.protobuf.MessageOrBuilder {
5936
5951
5963 boolean hasNumThreads();
5976
5993 boolean hasNumShards();
6011
6036
6075
6102
6131
6154
6177
6210
6241
6256
6279
6300
6323
6350
6369
6384
6399
6420
6434 java.util.List<java.lang.Integer> getRandomProjectionSeedsList();
6464
6493
6516
6545
6572
6641 }
6658 public static final class PrimalDualHybridGradientParams extends
6659 com.google.protobuf.GeneratedMessageV3 implements
6660 // @@protoc_insertion_point(message_implements:operations_research.pdlp.PrimalDualHybridGradientParams)
6662 private static final long serialVersionUID = 0L;
6663 // Use PrimalDualHybridGradientParams.newBuilder() to construct.
6664 private PrimalDualHybridGradientParams(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
6665 super(builder);
6666 }
6668 numThreads_ = 1;
6669 majorIterationFrequency_ = 64;
6670 terminationCheckFrequency_ = 64;
6671 restartStrategy_ = 3;
6672 primalWeightUpdateSmoothing_ = 0.5D;
6673 lInfRuizIterations_ = 5;
6674 l2NormRescaling_ = true;
6675 sufficientReductionForRestart_ = 0.1D;
6676 necessaryReductionForRestart_ = 0.9D;
6677 linesearchRule_ = 1;
6678 initialStepSizeScaling_ = 1D;
6679 randomProjectionSeeds_ = emptyIntList();
6680 infiniteConstraintBoundThreshold_ = Double.POSITIVE_INFINITY;
6681 handleSomePrimalGradientsOnFiniteBoundsAsResiduals_ = true;
6682 diagonalQpTrustRegionSolverTolerance_ = 1e-08D;
6683 }
6684
6685 @java.lang.Override
6686 @SuppressWarnings({"unused"})
6687 protected java.lang.Object newInstance(
6688 UnusedPrivateParameter unused) {
6689 return new PrimalDualHybridGradientParams();
6690 }
6691
6692 public static final com.google.protobuf.Descriptors.Descriptor
6694 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_descriptor;
6695 }
6696
6697 @java.lang.Override
6698 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
6700 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_fieldAccessorTable
6701 .ensureFieldAccessorsInitialized(
6703 }
6704
6709 implements com.google.protobuf.ProtocolMessageEnum {
6757 ;
6758
6762 public static final int RESTART_STRATEGY_UNSPECIFIED_VALUE = 0;
6771 public static final int NO_RESTARTS_VALUE = 1;
6780 public static final int EVERY_MAJOR_ITERATION_VALUE = 2;
6793 public static final int ADAPTIVE_HEURISTIC_VALUE = 3;
6805 public static final int ADAPTIVE_DISTANCE_BASED_VALUE = 4;
6806
6807
6808 public final int getNumber() {
6809 return value;
6810 }
6811
6817 @java.lang.Deprecated
6818 public static RestartStrategy valueOf(int value) {
6819 return forNumber(value);
6820 }
6821
6826 public static RestartStrategy forNumber(int value) {
6827 switch (value) {
6828 case 0: return RESTART_STRATEGY_UNSPECIFIED;
6829 case 1: return NO_RESTARTS;
6830 case 2: return EVERY_MAJOR_ITERATION;
6831 case 3: return ADAPTIVE_HEURISTIC;
6832 case 4: return ADAPTIVE_DISTANCE_BASED;
6833 default: return null;
6834 }
6835 }
6836
6837 public static com.google.protobuf.Internal.EnumLiteMap<RestartStrategy>
6839 return internalValueMap;
6840 }
6841 private static final com.google.protobuf.Internal.EnumLiteMap<
6842 RestartStrategy> internalValueMap =
6843 new com.google.protobuf.Internal.EnumLiteMap<RestartStrategy>() {
6844 public RestartStrategy findValueByNumber(int number) {
6845 return RestartStrategy.forNumber(number);
6846 }
6847 };
6848
6849 public final com.google.protobuf.Descriptors.EnumValueDescriptor
6851 return getDescriptor().getValues().get(ordinal());
6852 }
6853 public final com.google.protobuf.Descriptors.EnumDescriptor
6855 return getDescriptor();
6856 }
6857 public static final com.google.protobuf.Descriptors.EnumDescriptor
6861
6862 private static final RestartStrategy[] VALUES = values();
6863
6865 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
6866 if (desc.getType() != getDescriptor()) {
6867 throw new java.lang.IllegalArgumentException(
6868 "EnumValueDescriptor is not for this type.");
6869 }
6870 return VALUES[desc.getIndex()];
6871 }
6872
6873 private final int value;
6874
6875 private RestartStrategy(int value) {
6876 this.value = value;
6877 }
6878
6879 // @@protoc_insertion_point(enum_scope:operations_research.pdlp.PrimalDualHybridGradientParams.RestartStrategy)
6880 }
6881
6885 public enum LinesearchRule
6886 implements com.google.protobuf.ProtocolMessageEnum {
6922 ;
6923
6927 public static final int LINESEARCH_RULE_UNSPECIFIED_VALUE = 0;
6938 public static final int ADAPTIVE_LINESEARCH_RULE_VALUE = 1;
6949 public static final int MALITSKY_POCK_LINESEARCH_RULE_VALUE = 2;
6958 public static final int CONSTANT_STEP_SIZE_RULE_VALUE = 3;
6959
6960
6961 public final int getNumber() {
6962 return value;
6963 }
6964
6970 @java.lang.Deprecated
6971 public static LinesearchRule valueOf(int value) {
6972 return forNumber(value);
6973 }
6974
6979 public static LinesearchRule forNumber(int value) {
6980 switch (value) {
6981 case 0: return LINESEARCH_RULE_UNSPECIFIED;
6982 case 1: return ADAPTIVE_LINESEARCH_RULE;
6983 case 2: return MALITSKY_POCK_LINESEARCH_RULE;
6984 case 3: return CONSTANT_STEP_SIZE_RULE;
6985 default: return null;
6986 }
6987 }
6988
6989 public static com.google.protobuf.Internal.EnumLiteMap<LinesearchRule>
6991 return internalValueMap;
6992 }
6993 private static final com.google.protobuf.Internal.EnumLiteMap<
6994 LinesearchRule> internalValueMap =
6995 new com.google.protobuf.Internal.EnumLiteMap<LinesearchRule>() {
6996 public LinesearchRule findValueByNumber(int number) {
6997 return LinesearchRule.forNumber(number);
6998 }
6999 };
7000
7001 public final com.google.protobuf.Descriptors.EnumValueDescriptor
7003 return getDescriptor().getValues().get(ordinal());
7004 }
7005 public final com.google.protobuf.Descriptors.EnumDescriptor
7007 return getDescriptor();
7008 }
7009 public static final com.google.protobuf.Descriptors.EnumDescriptor
7013
7014 private static final LinesearchRule[] VALUES = values();
7015
7017 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
7018 if (desc.getType() != getDescriptor()) {
7019 throw new java.lang.IllegalArgumentException(
7020 "EnumValueDescriptor is not for this type.");
7021 }
7022 return VALUES[desc.getIndex()];
7023 }
7024
7025 private final int value;
7026
7027 private LinesearchRule(int value) {
7028 this.value = value;
7029 }
7030
7031 // @@protoc_insertion_point(enum_scope:operations_research.pdlp.PrimalDualHybridGradientParams.LinesearchRule)
7032 }
7033
7034 public interface PresolveOptionsOrBuilder extends
7035 // @@protoc_insertion_point(interface_extends:operations_research.pdlp.PrimalDualHybridGradientParams.PresolveOptions)
7036 com.google.protobuf.MessageOrBuilder {
7037
7053 boolean hasUseGlop();
7069 boolean getUseGlop();
7070
7100 }
7104 public static final class PresolveOptions extends
7105 com.google.protobuf.GeneratedMessageV3 implements
7106 // @@protoc_insertion_point(message_implements:operations_research.pdlp.PrimalDualHybridGradientParams.PresolveOptions)
7108 private static final long serialVersionUID = 0L;
7109 // Use PresolveOptions.newBuilder() to construct.
7110 private PresolveOptions(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
7111 super(builder);
7112 }
7113 private PresolveOptions() {
7114 }
7115
7116 @java.lang.Override
7117 @SuppressWarnings({"unused"})
7118 protected java.lang.Object newInstance(
7119 UnusedPrivateParameter unused) {
7120 return new PresolveOptions();
7121 }
7122
7123 public static final com.google.protobuf.Descriptors.Descriptor
7125 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_PresolveOptions_descriptor;
7126 }
7127
7128 @java.lang.Override
7129 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
7131 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_PresolveOptions_fieldAccessorTable
7132 .ensureFieldAccessorsInitialized(
7134 }
7135
7136 private int bitField0_;
7137 public static final int USE_GLOP_FIELD_NUMBER = 1;
7138 private boolean useGlop_ = false;
7154 @java.lang.Override
7155 public boolean hasUseGlop() {
7156 return ((bitField0_ & 0x00000001) != 0);
7157 }
7173 @java.lang.Override
7174 public boolean getUseGlop() {
7175 return useGlop_;
7176 }
7177
7178 public static final int GLOP_PARAMETERS_FIELD_NUMBER = 2;
7179 private com.google.ortools.glop.GlopParameters glopParameters_;
7189 @java.lang.Override
7190 public boolean hasGlopParameters() {
7191 return ((bitField0_ & 0x00000002) != 0);
7192 }
7202 @java.lang.Override
7204 return glopParameters_ == null ? com.google.ortools.glop.GlopParameters.getDefaultInstance() : glopParameters_;
7205 }
7214 @java.lang.Override
7216 return glopParameters_ == null ? com.google.ortools.glop.GlopParameters.getDefaultInstance() : glopParameters_;
7217 }
7218
7219 private byte memoizedIsInitialized = -1;
7220 @java.lang.Override
7221 public final boolean isInitialized() {
7222 byte isInitialized = memoizedIsInitialized;
7223 if (isInitialized == 1) return true;
7224 if (isInitialized == 0) return false;
7225
7226 memoizedIsInitialized = 1;
7227 return true;
7228 }
7229
7230 @java.lang.Override
7231 public void writeTo(com.google.protobuf.CodedOutputStream output)
7232 throws java.io.IOException {
7233 if (((bitField0_ & 0x00000001) != 0)) {
7234 output.writeBool(1, useGlop_);
7235 }
7236 if (((bitField0_ & 0x00000002) != 0)) {
7237 output.writeMessage(2, getGlopParameters());
7238 }
7239 getUnknownFields().writeTo(output);
7240 }
7241
7242 @java.lang.Override
7243 public int getSerializedSize() {
7244 int size = memoizedSize;
7245 if (size != -1) return size;
7246
7247 size = 0;
7248 if (((bitField0_ & 0x00000001) != 0)) {
7249 size += com.google.protobuf.CodedOutputStream
7250 .computeBoolSize(1, useGlop_);
7251 }
7252 if (((bitField0_ & 0x00000002) != 0)) {
7253 size += com.google.protobuf.CodedOutputStream
7254 .computeMessageSize(2, getGlopParameters());
7255 }
7256 size += getUnknownFields().getSerializedSize();
7257 memoizedSize = size;
7258 return size;
7259 }
7260
7261 @java.lang.Override
7262 public boolean equals(final java.lang.Object obj) {
7263 if (obj == this) {
7264 return true;
7265 }
7267 return super.equals(obj);
7268 }
7270
7271 if (hasUseGlop() != other.hasUseGlop()) return false;
7272 if (hasUseGlop()) {
7273 if (getUseGlop()
7274 != other.getUseGlop()) return false;
7275 }
7276 if (hasGlopParameters() != other.hasGlopParameters()) return false;
7277 if (hasGlopParameters()) {
7278 if (!getGlopParameters()
7279 .equals(other.getGlopParameters())) return false;
7280 }
7281 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
7282 return true;
7283 }
7284
7285 @java.lang.Override
7286 public int hashCode() {
7287 if (memoizedHashCode != 0) {
7288 return memoizedHashCode;
7289 }
7290 int hash = 41;
7291 hash = (19 * hash) + getDescriptor().hashCode();
7292 if (hasUseGlop()) {
7293 hash = (37 * hash) + USE_GLOP_FIELD_NUMBER;
7294 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
7295 getUseGlop());
7296 }
7297 if (hasGlopParameters()) {
7298 hash = (37 * hash) + GLOP_PARAMETERS_FIELD_NUMBER;
7299 hash = (53 * hash) + getGlopParameters().hashCode();
7300 }
7301 hash = (29 * hash) + getUnknownFields().hashCode();
7302 memoizedHashCode = hash;
7303 return hash;
7304 }
7305
7307 java.nio.ByteBuffer data)
7308 throws com.google.protobuf.InvalidProtocolBufferException {
7309 return PARSER.parseFrom(data);
7310 }
7312 java.nio.ByteBuffer data,
7313 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
7314 throws com.google.protobuf.InvalidProtocolBufferException {
7315 return PARSER.parseFrom(data, extensionRegistry);
7316 }
7318 com.google.protobuf.ByteString data)
7319 throws com.google.protobuf.InvalidProtocolBufferException {
7320 return PARSER.parseFrom(data);
7321 }
7323 com.google.protobuf.ByteString data,
7324 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
7325 throws com.google.protobuf.InvalidProtocolBufferException {
7326 return PARSER.parseFrom(data, extensionRegistry);
7327 }
7329 throws com.google.protobuf.InvalidProtocolBufferException {
7330 return PARSER.parseFrom(data);
7331 }
7333 byte[] data,
7334 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
7335 throws com.google.protobuf.InvalidProtocolBufferException {
7336 return PARSER.parseFrom(data, extensionRegistry);
7337 }
7339 throws java.io.IOException {
7340 return com.google.protobuf.GeneratedMessageV3
7341 .parseWithIOException(PARSER, input);
7342 }
7344 java.io.InputStream input,
7345 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
7346 throws java.io.IOException {
7347 return com.google.protobuf.GeneratedMessageV3
7348 .parseWithIOException(PARSER, input, extensionRegistry);
7349 }
7350
7352 throws java.io.IOException {
7353 return com.google.protobuf.GeneratedMessageV3
7354 .parseDelimitedWithIOException(PARSER, input);
7355 }
7356
7358 java.io.InputStream input,
7359 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
7360 throws java.io.IOException {
7361 return com.google.protobuf.GeneratedMessageV3
7362 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
7363 }
7365 com.google.protobuf.CodedInputStream input)
7366 throws java.io.IOException {
7367 return com.google.protobuf.GeneratedMessageV3
7368 .parseWithIOException(PARSER, input);
7369 }
7371 com.google.protobuf.CodedInputStream input,
7372 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
7373 throws java.io.IOException {
7374 return com.google.protobuf.GeneratedMessageV3
7375 .parseWithIOException(PARSER, input, extensionRegistry);
7376 }
7377
7378 @java.lang.Override
7379 public Builder newBuilderForType() { return newBuilder(); }
7380 public static Builder newBuilder() {
7381 return DEFAULT_INSTANCE.toBuilder();
7382 }
7384 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
7385 }
7386 @java.lang.Override
7388 return this == DEFAULT_INSTANCE
7389 ? new Builder() : new Builder().mergeFrom(this);
7390 }
7391
7392 @java.lang.Override
7394 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
7395 Builder builder = new Builder(parent);
7396 return builder;
7397 }
7401 public static final class Builder extends
7402 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
7403 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.PrimalDualHybridGradientParams.PresolveOptions)
7405 public static final com.google.protobuf.Descriptors.Descriptor
7407 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_PresolveOptions_descriptor;
7408 }
7409
7410 @java.lang.Override
7411 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
7413 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_PresolveOptions_fieldAccessorTable
7414 .ensureFieldAccessorsInitialized(
7416 }
7417
7418 // Construct using operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions.newBuilder()
7419 private Builder() {
7420 maybeForceBuilderInitialization();
7421 }
7422
7423 private Builder(
7424 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
7425 super(parent);
7426 maybeForceBuilderInitialization();
7427 }
7428 private void maybeForceBuilderInitialization() {
7429 if (com.google.protobuf.GeneratedMessageV3
7430 .alwaysUseFieldBuilders) {
7431 getGlopParametersFieldBuilder();
7432 }
7433 }
7434 @java.lang.Override
7435 public Builder clear() {
7436 super.clear();
7437 bitField0_ = 0;
7438 useGlop_ = false;
7439 glopParameters_ = null;
7440 if (glopParametersBuilder_ != null) {
7441 glopParametersBuilder_.dispose();
7442 glopParametersBuilder_ = null;
7443 }
7444 return this;
7445 }
7446
7447 @java.lang.Override
7448 public com.google.protobuf.Descriptors.Descriptor
7450 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_PresolveOptions_descriptor;
7451 }
7452
7453 @java.lang.Override
7457
7458 @java.lang.Override
7461 if (!result.isInitialized()) {
7462 throw newUninitializedMessageException(result);
7463 }
7464 return result;
7465 }
7466
7467 @java.lang.Override
7474
7476 int from_bitField0_ = bitField0_;
7477 int to_bitField0_ = 0;
7478 if (((from_bitField0_ & 0x00000001) != 0)) {
7479 result.useGlop_ = useGlop_;
7480 to_bitField0_ |= 0x00000001;
7481 }
7482 if (((from_bitField0_ & 0x00000002) != 0)) {
7483 result.glopParameters_ = glopParametersBuilder_ == null
7484 ? glopParameters_
7485 : glopParametersBuilder_.build();
7486 to_bitField0_ |= 0x00000002;
7487 }
7488 result.bitField0_ |= to_bitField0_;
7489 }
7490
7491 @java.lang.Override
7492 public Builder clone() {
7493 return super.clone();
7494 }
7495 @java.lang.Override
7497 com.google.protobuf.Descriptors.FieldDescriptor field,
7498 java.lang.Object value) {
7499 return super.setField(field, value);
7500 }
7501 @java.lang.Override
7503 com.google.protobuf.Descriptors.FieldDescriptor field) {
7504 return super.clearField(field);
7505 }
7506 @java.lang.Override
7508 com.google.protobuf.Descriptors.OneofDescriptor oneof) {
7509 return super.clearOneof(oneof);
7510 }
7511 @java.lang.Override
7513 com.google.protobuf.Descriptors.FieldDescriptor field,
7514 int index, java.lang.Object value) {
7515 return super.setRepeatedField(field, index, value);
7516 }
7517 @java.lang.Override
7519 com.google.protobuf.Descriptors.FieldDescriptor field,
7520 java.lang.Object value) {
7521 return super.addRepeatedField(field, value);
7522 }
7523 @java.lang.Override
7524 public Builder mergeFrom(com.google.protobuf.Message other) {
7527 } else {
7528 super.mergeFrom(other);
7529 return this;
7530 }
7531 }
7532
7535 if (other.hasUseGlop()) {
7536 setUseGlop(other.getUseGlop());
7537 }
7538 if (other.hasGlopParameters()) {
7539 mergeGlopParameters(other.getGlopParameters());
7540 }
7541 this.mergeUnknownFields(other.getUnknownFields());
7542 onChanged();
7543 return this;
7544 }
7545
7546 @java.lang.Override
7547 public final boolean isInitialized() {
7548 return true;
7549 }
7550
7551 @java.lang.Override
7553 com.google.protobuf.CodedInputStream input,
7554 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
7555 throws java.io.IOException {
7556 if (extensionRegistry == null) {
7557 throw new java.lang.NullPointerException();
7558 }
7559 try {
7560 boolean done = false;
7561 while (!done) {
7562 int tag = input.readTag();
7563 switch (tag) {
7564 case 0:
7565 done = true;
7566 break;
7567 case 8: {
7568 useGlop_ = input.readBool();
7569 bitField0_ |= 0x00000001;
7570 break;
7571 } // case 8
7572 case 18: {
7573 input.readMessage(
7574 getGlopParametersFieldBuilder().getBuilder(),
7575 extensionRegistry);
7576 bitField0_ |= 0x00000002;
7577 break;
7578 } // case 18
7579 default: {
7580 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
7581 done = true; // was an endgroup tag
7582 }
7583 break;
7584 } // default:
7585 } // switch (tag)
7586 } // while (!done)
7587 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
7588 throw e.unwrapIOException();
7589 } finally {
7590 onChanged();
7591 } // finally
7592 return this;
7593 }
7594 private int bitField0_;
7595
7596 private boolean useGlop_ ;
7612 @java.lang.Override
7613 public boolean hasUseGlop() {
7614 return ((bitField0_ & 0x00000001) != 0);
7615 }
7631 @java.lang.Override
7632 public boolean getUseGlop() {
7633 return useGlop_;
7634 }
7651 public Builder setUseGlop(boolean value) {
7652
7653 useGlop_ = value;
7654 bitField0_ |= 0x00000001;
7655 onChanged();
7656 return this;
7657 }
7674 bitField0_ = (bitField0_ & ~0x00000001);
7675 useGlop_ = false;
7676 onChanged();
7677 return this;
7678 }
7679
7680 private com.google.ortools.glop.GlopParameters glopParameters_;
7681 private com.google.protobuf.SingleFieldBuilderV3<
7682 com.google.ortools.glop.GlopParameters, com.google.ortools.glop.GlopParameters.Builder, com.google.ortools.glop.GlopParametersOrBuilder> glopParametersBuilder_;
7692 public boolean hasGlopParameters() {
7693 return ((bitField0_ & 0x00000002) != 0);
7694 }
7705 if (glopParametersBuilder_ == null) {
7706 return glopParameters_ == null ? com.google.ortools.glop.GlopParameters.getDefaultInstance() : glopParameters_;
7707 } else {
7708 return glopParametersBuilder_.getMessage();
7709 }
7710 }
7719 public Builder setGlopParameters(com.google.ortools.glop.GlopParameters value) {
7720 if (glopParametersBuilder_ == null) {
7721 if (value == null) {
7722 throw new NullPointerException();
7723 }
7724 glopParameters_ = value;
7725 } else {
7726 glopParametersBuilder_.setMessage(value);
7727 }
7728 bitField0_ |= 0x00000002;
7729 onChanged();
7730 return this;
7731 }
7741 com.google.ortools.glop.GlopParameters.Builder builderForValue) {
7742 if (glopParametersBuilder_ == null) {
7743 glopParameters_ = builderForValue.build();
7744 } else {
7745 glopParametersBuilder_.setMessage(builderForValue.build());
7746 }
7747 bitField0_ |= 0x00000002;
7748 onChanged();
7749 return this;
7750 }
7759 public Builder mergeGlopParameters(com.google.ortools.glop.GlopParameters value) {
7760 if (glopParametersBuilder_ == null) {
7761 if (((bitField0_ & 0x00000002) != 0) &&
7762 glopParameters_ != null &&
7763 glopParameters_ != com.google.ortools.glop.GlopParameters.getDefaultInstance()) {
7765 } else {
7766 glopParameters_ = value;
7767 }
7768 } else {
7769 glopParametersBuilder_.mergeFrom(value);
7770 }
7771 if (glopParameters_ != null) {
7772 bitField0_ |= 0x00000002;
7773 onChanged();
7774 }
7775 return this;
7776 }
7786 bitField0_ = (bitField0_ & ~0x00000002);
7787 glopParameters_ = null;
7788 if (glopParametersBuilder_ != null) {
7789 glopParametersBuilder_.dispose();
7790 glopParametersBuilder_ = null;
7791 }
7792 onChanged();
7793 return this;
7794 }
7804 bitField0_ |= 0x00000002;
7805 onChanged();
7806 return getGlopParametersFieldBuilder().getBuilder();
7807 }
7817 if (glopParametersBuilder_ != null) {
7818 return glopParametersBuilder_.getMessageOrBuilder();
7819 } else {
7820 return glopParameters_ == null ?
7821 com.google.ortools.glop.GlopParameters.getDefaultInstance() : glopParameters_;
7822 }
7823 }
7832 private com.google.protobuf.SingleFieldBuilderV3<
7833 com.google.ortools.glop.GlopParameters, com.google.ortools.glop.GlopParameters.Builder, com.google.ortools.glop.GlopParametersOrBuilder>
7834 getGlopParametersFieldBuilder() {
7835 if (glopParametersBuilder_ == null) {
7836 glopParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
7837 com.google.ortools.glop.GlopParameters, com.google.ortools.glop.GlopParameters.Builder, com.google.ortools.glop.GlopParametersOrBuilder>(
7839 getParentForChildren(),
7840 isClean());
7841 glopParameters_ = null;
7842 }
7843 return glopParametersBuilder_;
7844 }
7845 @java.lang.Override
7847 final com.google.protobuf.UnknownFieldSet unknownFields) {
7848 return super.setUnknownFields(unknownFields);
7849 }
7850
7851 @java.lang.Override
7853 final com.google.protobuf.UnknownFieldSet unknownFields) {
7854 return super.mergeUnknownFields(unknownFields);
7855 }
7856
7857
7858 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.PrimalDualHybridGradientParams.PresolveOptions)
7859 }
7860
7861 // @@protoc_insertion_point(class_scope:operations_research.pdlp.PrimalDualHybridGradientParams.PresolveOptions)
7863 static {
7865 }
7866
7870
7871 @java.lang.Deprecated public static final com.google.protobuf.Parser<PresolveOptions>
7872 PARSER = new com.google.protobuf.AbstractParser<PresolveOptions>() {
7873 @java.lang.Override
7874 public PresolveOptions parsePartialFrom(
7875 com.google.protobuf.CodedInputStream input,
7876 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
7877 throws com.google.protobuf.InvalidProtocolBufferException {
7878 Builder builder = newBuilder();
7879 try {
7880 builder.mergeFrom(input, extensionRegistry);
7881 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
7882 throw e.setUnfinishedMessage(builder.buildPartial());
7883 } catch (com.google.protobuf.UninitializedMessageException e) {
7884 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
7885 } catch (java.io.IOException e) {
7886 throw new com.google.protobuf.InvalidProtocolBufferException(e)
7887 .setUnfinishedMessage(builder.buildPartial());
7888 }
7889 return builder.buildPartial();
7890 }
7891 };
7892
7893 public static com.google.protobuf.Parser<PresolveOptions> parser() {
7894 return PARSER;
7895 }
7896
7897 @java.lang.Override
7898 public com.google.protobuf.Parser<PresolveOptions> getParserForType() {
7899 return PARSER;
7900 }
7901
7902 @java.lang.Override
7906
7907 }
7908
7909 private int bitField0_;
7910 public static final int TERMINATION_CRITERIA_FIELD_NUMBER = 1;
7911 private operations_research.pdlp.Solvers.TerminationCriteria terminationCriteria_;
7916 @java.lang.Override
7917 public boolean hasTerminationCriteria() {
7918 return ((bitField0_ & 0x00000001) != 0);
7919 }
7924 @java.lang.Override
7931 @java.lang.Override
7935
7936 public static final int NUM_THREADS_FIELD_NUMBER = 2;
7937 private int numThreads_ = 1;
7949 @java.lang.Override
7950 public boolean hasNumThreads() {
7951 return ((bitField0_ & 0x00000002) != 0);
7952 }
7964 @java.lang.Override
7965 public int getNumThreads() {
7966 return numThreads_;
7967 }
7968
7969 public static final int NUM_SHARDS_FIELD_NUMBER = 27;
7970 private int numShards_ = 0;
7987 @java.lang.Override
7988 public boolean hasNumShards() {
7989 return ((bitField0_ & 0x00000004) != 0);
7990 }
8007 @java.lang.Override
8008 public int getNumShards() {
8009 return numShards_;
8010 }
8011
8012 public static final int RECORD_ITERATION_STATS_FIELD_NUMBER = 3;
8013 private boolean recordIterationStats_ = false;
8025 @java.lang.Override
8026 public boolean hasRecordIterationStats() {
8027 return ((bitField0_ & 0x00000008) != 0);
8028 }
8040 @java.lang.Override
8041 public boolean getRecordIterationStats() {
8042 return recordIterationStats_;
8043 }
8044
8045 public static final int VERBOSITY_LEVEL_FIELD_NUMBER = 26;
8046 private int verbosityLevel_ = 0;
8065 @java.lang.Override
8066 public boolean hasVerbosityLevel() {
8067 return ((bitField0_ & 0x00000010) != 0);
8068 }
8087 @java.lang.Override
8088 public int getVerbosityLevel() {
8089 return verbosityLevel_;
8090 }
8091
8092 public static final int LOG_INTERVAL_SECONDS_FIELD_NUMBER = 31;
8093 private double logIntervalSeconds_ = 0D;
8106 @java.lang.Override
8107 public boolean hasLogIntervalSeconds() {
8108 return ((bitField0_ & 0x00000020) != 0);
8109 }
8122 @java.lang.Override
8123 public double getLogIntervalSeconds() {
8124 return logIntervalSeconds_;
8125 }
8126
8127 public static final int MAJOR_ITERATION_FREQUENCY_FIELD_NUMBER = 4;
8128 private int majorIterationFrequency_ = 64;
8142 @java.lang.Override
8144 return ((bitField0_ & 0x00000040) != 0);
8145 }
8159 @java.lang.Override
8161 return majorIterationFrequency_;
8162 }
8163
8164 public static final int TERMINATION_CHECK_FREQUENCY_FIELD_NUMBER = 5;
8165 private int terminationCheckFrequency_ = 64;
8176 @java.lang.Override
8178 return ((bitField0_ & 0x00000080) != 0);
8179 }
8190 @java.lang.Override
8192 return terminationCheckFrequency_;
8193 }
8194
8195 public static final int RESTART_STRATEGY_FIELD_NUMBER = 6;
8196 private int restartStrategy_ = 3;
8207 @java.lang.Override public boolean hasRestartStrategy() {
8208 return ((bitField0_ & 0x00000100) != 0);
8209 }
8222 return result == null ? operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.RestartStrategy.ADAPTIVE_HEURISTIC : result;
8223 }
8224
8226 private double primalWeightUpdateSmoothing_ = 0.5D;
8242 @java.lang.Override
8244 return ((bitField0_ & 0x00000200) != 0);
8245 }
8261 @java.lang.Override
8263 return primalWeightUpdateSmoothing_;
8264 }
8265
8266 public static final int INITIAL_PRIMAL_WEIGHT_FIELD_NUMBER = 8;
8267 private double initialPrimalWeight_ = 0D;
8282 @java.lang.Override
8283 public boolean hasInitialPrimalWeight() {
8284 return ((bitField0_ & 0x00000400) != 0);
8285 }
8300 @java.lang.Override
8301 public double getInitialPrimalWeight() {
8302 return initialPrimalWeight_;
8303 }
8304
8305 public static final int PRESOLVE_OPTIONS_FIELD_NUMBER = 16;
8311 @java.lang.Override
8312 public boolean hasPresolveOptions() {
8313 return ((bitField0_ & 0x00000800) != 0);
8314 }
8319 @java.lang.Override
8326 @java.lang.Override
8330
8331 public static final int L_INF_RUIZ_ITERATIONS_FIELD_NUMBER = 9;
8332 private int lInfRuizIterations_ = 5;
8343 @java.lang.Override
8344 public boolean hasLInfRuizIterations() {
8345 return ((bitField0_ & 0x00001000) != 0);
8346 }
8357 @java.lang.Override
8359 return lInfRuizIterations_;
8360 }
8361
8362 public static final int L2_NORM_RESCALING_FIELD_NUMBER = 10;
8363 private boolean l2NormRescaling_ = true;
8373 @java.lang.Override
8374 public boolean hasL2NormRescaling() {
8375 return ((bitField0_ & 0x00002000) != 0);
8376 }
8386 @java.lang.Override
8387 public boolean getL2NormRescaling() {
8388 return l2NormRescaling_;
8389 }
8390
8392 private double sufficientReductionForRestart_ = 0.1D;
8403 @java.lang.Override
8405 return ((bitField0_ & 0x00004000) != 0);
8406 }
8417 @java.lang.Override
8419 return sufficientReductionForRestart_;
8420 }
8421
8423 private double necessaryReductionForRestart_ = 0.9D;
8436 @java.lang.Override
8438 return ((bitField0_ & 0x00008000) != 0);
8439 }
8452 @java.lang.Override
8454 return necessaryReductionForRestart_;
8455 }
8456
8457 public static final int LINESEARCH_RULE_FIELD_NUMBER = 12;
8458 private int linesearchRule_ = 1;
8467 @java.lang.Override public boolean hasLinesearchRule() {
8468 return ((bitField0_ & 0x00010000) != 0);
8469 }
8480 return result == null ? operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.LinesearchRule.ADAPTIVE_LINESEARCH_RULE : result;
8481 }
8482
8484 private operations_research.pdlp.Solvers.AdaptiveLinesearchParams adaptiveLinesearchParameters_;
8489 @java.lang.Override
8491 return ((bitField0_ & 0x00020000) != 0);
8492 }
8497 @java.lang.Override
8499 return adaptiveLinesearchParameters_ == null ? operations_research.pdlp.Solvers.AdaptiveLinesearchParams.getDefaultInstance() : adaptiveLinesearchParameters_;
8500 }
8504 @java.lang.Override
8508
8509 public static final int MALITSKY_POCK_PARAMETERS_FIELD_NUMBER = 19;
8510 private operations_research.pdlp.Solvers.MalitskyPockParams malitskyPockParameters_;
8515 @java.lang.Override
8516 public boolean hasMalitskyPockParameters() {
8517 return ((bitField0_ & 0x00040000) != 0);
8518 }
8523 @java.lang.Override
8525 return malitskyPockParameters_ == null ? operations_research.pdlp.Solvers.MalitskyPockParams.getDefaultInstance() : malitskyPockParameters_;
8526 }
8530 @java.lang.Override
8534
8535 public static final int INITIAL_STEP_SIZE_SCALING_FIELD_NUMBER = 25;
8536 private double initialStepSizeScaling_ = 1D;
8546 @java.lang.Override
8547 public boolean hasInitialStepSizeScaling() {
8548 return ((bitField0_ & 0x00080000) != 0);
8549 }
8559 @java.lang.Override
8561 return initialStepSizeScaling_;
8562 }
8563
8564 public static final int RANDOM_PROJECTION_SEEDS_FIELD_NUMBER = 28;
8565 @SuppressWarnings("serial")
8566 private com.google.protobuf.Internal.IntList randomProjectionSeeds_ =
8567 emptyIntList();
8581 @java.lang.Override
8582 public java.util.List<java.lang.Integer>
8584 return randomProjectionSeeds_;
8585 }
8600 return randomProjectionSeeds_.size();
8601 }
8616 public int getRandomProjectionSeeds(int index) {
8617 return randomProjectionSeeds_.getInt(index);
8618 }
8619 private int randomProjectionSeedsMemoizedSerializedSize = -1;
8620
8622 private double infiniteConstraintBoundThreshold_ = Double.POSITIVE_INFINITY;
8636 @java.lang.Override
8638 return ((bitField0_ & 0x00100000) != 0);
8639 }
8653 @java.lang.Override
8655 return infiniteConstraintBoundThreshold_;
8656 }
8657
8659 private boolean handleSomePrimalGradientsOnFiniteBoundsAsResiduals_ = true;
8670 @java.lang.Override
8672 return ((bitField0_ & 0x00200000) != 0);
8673 }
8684 @java.lang.Override
8686 return handleSomePrimalGradientsOnFiniteBoundsAsResiduals_;
8687 }
8688
8690 private boolean useDiagonalQpTrustRegionSolver_ = false;
8704 @java.lang.Override
8706 return ((bitField0_ & 0x00400000) != 0);
8707 }
8721 @java.lang.Override
8723 return useDiagonalQpTrustRegionSolver_;
8724 }
8725
8727 private double diagonalQpTrustRegionSolverTolerance_ = 1e-08D;
8740 @java.lang.Override
8742 return ((bitField0_ & 0x00800000) != 0);
8743 }
8756 @java.lang.Override
8758 return diagonalQpTrustRegionSolverTolerance_;
8759 }
8760
8761 public static final int USE_FEASIBILITY_POLISHING_FIELD_NUMBER = 30;
8762 private boolean useFeasibilityPolishing_ = false;
8796 @java.lang.Override
8798 return ((bitField0_ & 0x01000000) != 0);
8799 }
8833 @java.lang.Override
8835 return useFeasibilityPolishing_;
8836 }
8837
8838 private byte memoizedIsInitialized = -1;
8839 @java.lang.Override
8840 public final boolean isInitialized() {
8841 byte isInitialized = memoizedIsInitialized;
8842 if (isInitialized == 1) return true;
8843 if (isInitialized == 0) return false;
8844
8845 memoizedIsInitialized = 1;
8846 return true;
8847 }
8848
8849 @java.lang.Override
8850 public void writeTo(com.google.protobuf.CodedOutputStream output)
8851 throws java.io.IOException {
8853 if (((bitField0_ & 0x00000001) != 0)) {
8854 output.writeMessage(1, getTerminationCriteria());
8855 }
8856 if (((bitField0_ & 0x00000002) != 0)) {
8857 output.writeInt32(2, numThreads_);
8858 }
8859 if (((bitField0_ & 0x00000008) != 0)) {
8860 output.writeBool(3, recordIterationStats_);
8861 }
8862 if (((bitField0_ & 0x00000040) != 0)) {
8863 output.writeInt32(4, majorIterationFrequency_);
8864 }
8865 if (((bitField0_ & 0x00000080) != 0)) {
8866 output.writeInt32(5, terminationCheckFrequency_);
8867 }
8868 if (((bitField0_ & 0x00000100) != 0)) {
8869 output.writeEnum(6, restartStrategy_);
8870 }
8871 if (((bitField0_ & 0x00000200) != 0)) {
8872 output.writeDouble(7, primalWeightUpdateSmoothing_);
8873 }
8874 if (((bitField0_ & 0x00000400) != 0)) {
8875 output.writeDouble(8, initialPrimalWeight_);
8876 }
8877 if (((bitField0_ & 0x00001000) != 0)) {
8878 output.writeInt32(9, lInfRuizIterations_);
8879 }
8880 if (((bitField0_ & 0x00002000) != 0)) {
8881 output.writeBool(10, l2NormRescaling_);
8882 }
8883 if (((bitField0_ & 0x00004000) != 0)) {
8884 output.writeDouble(11, sufficientReductionForRestart_);
8885 }
8886 if (((bitField0_ & 0x00010000) != 0)) {
8887 output.writeEnum(12, linesearchRule_);
8888 }
8889 if (((bitField0_ & 0x00000800) != 0)) {
8890 output.writeMessage(16, getPresolveOptions());
8891 }
8892 if (((bitField0_ & 0x00008000) != 0)) {
8893 output.writeDouble(17, necessaryReductionForRestart_);
8894 }
8895 if (((bitField0_ & 0x00020000) != 0)) {
8896 output.writeMessage(18, getAdaptiveLinesearchParameters());
8897 }
8898 if (((bitField0_ & 0x00040000) != 0)) {
8899 output.writeMessage(19, getMalitskyPockParameters());
8900 }
8901 if (((bitField0_ & 0x00100000) != 0)) {
8902 output.writeDouble(22, infiniteConstraintBoundThreshold_);
8903 }
8904 if (((bitField0_ & 0x00400000) != 0)) {
8905 output.writeBool(23, useDiagonalQpTrustRegionSolver_);
8906 }
8907 if (((bitField0_ & 0x00800000) != 0)) {
8908 output.writeDouble(24, diagonalQpTrustRegionSolverTolerance_);
8909 }
8910 if (((bitField0_ & 0x00080000) != 0)) {
8911 output.writeDouble(25, initialStepSizeScaling_);
8912 }
8913 if (((bitField0_ & 0x00000010) != 0)) {
8914 output.writeInt32(26, verbosityLevel_);
8915 }
8916 if (((bitField0_ & 0x00000004) != 0)) {
8917 output.writeInt32(27, numShards_);
8918 }
8919 if (getRandomProjectionSeedsList().size() > 0) {
8920 output.writeUInt32NoTag(226);
8921 output.writeUInt32NoTag(randomProjectionSeedsMemoizedSerializedSize);
8922 }
8923 for (int i = 0; i < randomProjectionSeeds_.size(); i++) {
8924 output.writeInt32NoTag(randomProjectionSeeds_.getInt(i));
8925 }
8926 if (((bitField0_ & 0x00200000) != 0)) {
8927 output.writeBool(29, handleSomePrimalGradientsOnFiniteBoundsAsResiduals_);
8928 }
8929 if (((bitField0_ & 0x01000000) != 0)) {
8930 output.writeBool(30, useFeasibilityPolishing_);
8931 }
8932 if (((bitField0_ & 0x00000020) != 0)) {
8933 output.writeDouble(31, logIntervalSeconds_);
8934 }
8935 getUnknownFields().writeTo(output);
8936 }
8937
8938 @java.lang.Override
8939 public int getSerializedSize() {
8940 int size = memoizedSize;
8941 if (size != -1) return size;
8942
8943 size = 0;
8944 if (((bitField0_ & 0x00000001) != 0)) {
8945 size += com.google.protobuf.CodedOutputStream
8946 .computeMessageSize(1, getTerminationCriteria());
8947 }
8948 if (((bitField0_ & 0x00000002) != 0)) {
8949 size += com.google.protobuf.CodedOutputStream
8950 .computeInt32Size(2, numThreads_);
8951 }
8952 if (((bitField0_ & 0x00000008) != 0)) {
8953 size += com.google.protobuf.CodedOutputStream
8954 .computeBoolSize(3, recordIterationStats_);
8955 }
8956 if (((bitField0_ & 0x00000040) != 0)) {
8957 size += com.google.protobuf.CodedOutputStream
8958 .computeInt32Size(4, majorIterationFrequency_);
8959 }
8960 if (((bitField0_ & 0x00000080) != 0)) {
8961 size += com.google.protobuf.CodedOutputStream
8962 .computeInt32Size(5, terminationCheckFrequency_);
8963 }
8964 if (((bitField0_ & 0x00000100) != 0)) {
8965 size += com.google.protobuf.CodedOutputStream
8966 .computeEnumSize(6, restartStrategy_);
8967 }
8968 if (((bitField0_ & 0x00000200) != 0)) {
8969 size += com.google.protobuf.CodedOutputStream
8970 .computeDoubleSize(7, primalWeightUpdateSmoothing_);
8971 }
8972 if (((bitField0_ & 0x00000400) != 0)) {
8973 size += com.google.protobuf.CodedOutputStream
8974 .computeDoubleSize(8, initialPrimalWeight_);
8975 }
8976 if (((bitField0_ & 0x00001000) != 0)) {
8977 size += com.google.protobuf.CodedOutputStream
8978 .computeInt32Size(9, lInfRuizIterations_);
8979 }
8980 if (((bitField0_ & 0x00002000) != 0)) {
8981 size += com.google.protobuf.CodedOutputStream
8982 .computeBoolSize(10, l2NormRescaling_);
8983 }
8984 if (((bitField0_ & 0x00004000) != 0)) {
8985 size += com.google.protobuf.CodedOutputStream
8986 .computeDoubleSize(11, sufficientReductionForRestart_);
8987 }
8988 if (((bitField0_ & 0x00010000) != 0)) {
8989 size += com.google.protobuf.CodedOutputStream
8990 .computeEnumSize(12, linesearchRule_);
8991 }
8992 if (((bitField0_ & 0x00000800) != 0)) {
8993 size += com.google.protobuf.CodedOutputStream
8994 .computeMessageSize(16, getPresolveOptions());
8995 }
8996 if (((bitField0_ & 0x00008000) != 0)) {
8997 size += com.google.protobuf.CodedOutputStream
8998 .computeDoubleSize(17, necessaryReductionForRestart_);
8999 }
9000 if (((bitField0_ & 0x00020000) != 0)) {
9001 size += com.google.protobuf.CodedOutputStream
9002 .computeMessageSize(18, getAdaptiveLinesearchParameters());
9003 }
9004 if (((bitField0_ & 0x00040000) != 0)) {
9005 size += com.google.protobuf.CodedOutputStream
9006 .computeMessageSize(19, getMalitskyPockParameters());
9007 }
9008 if (((bitField0_ & 0x00100000) != 0)) {
9009 size += com.google.protobuf.CodedOutputStream
9010 .computeDoubleSize(22, infiniteConstraintBoundThreshold_);
9011 }
9012 if (((bitField0_ & 0x00400000) != 0)) {
9013 size += com.google.protobuf.CodedOutputStream
9014 .computeBoolSize(23, useDiagonalQpTrustRegionSolver_);
9015 }
9016 if (((bitField0_ & 0x00800000) != 0)) {
9017 size += com.google.protobuf.CodedOutputStream
9018 .computeDoubleSize(24, diagonalQpTrustRegionSolverTolerance_);
9019 }
9020 if (((bitField0_ & 0x00080000) != 0)) {
9021 size += com.google.protobuf.CodedOutputStream
9022 .computeDoubleSize(25, initialStepSizeScaling_);
9023 }
9024 if (((bitField0_ & 0x00000010) != 0)) {
9025 size += com.google.protobuf.CodedOutputStream
9026 .computeInt32Size(26, verbosityLevel_);
9027 }
9028 if (((bitField0_ & 0x00000004) != 0)) {
9029 size += com.google.protobuf.CodedOutputStream
9030 .computeInt32Size(27, numShards_);
9031 }
9032 {
9033 int dataSize = 0;
9034 for (int i = 0; i < randomProjectionSeeds_.size(); i++) {
9035 dataSize += com.google.protobuf.CodedOutputStream
9036 .computeInt32SizeNoTag(randomProjectionSeeds_.getInt(i));
9037 }
9038 size += dataSize;
9039 if (!getRandomProjectionSeedsList().isEmpty()) {
9040 size += 2;
9041 size += com.google.protobuf.CodedOutputStream
9042 .computeInt32SizeNoTag(dataSize);
9043 }
9044 randomProjectionSeedsMemoizedSerializedSize = dataSize;
9045 }
9046 if (((bitField0_ & 0x00200000) != 0)) {
9047 size += com.google.protobuf.CodedOutputStream
9048 .computeBoolSize(29, handleSomePrimalGradientsOnFiniteBoundsAsResiduals_);
9049 }
9050 if (((bitField0_ & 0x01000000) != 0)) {
9051 size += com.google.protobuf.CodedOutputStream
9052 .computeBoolSize(30, useFeasibilityPolishing_);
9053 }
9054 if (((bitField0_ & 0x00000020) != 0)) {
9055 size += com.google.protobuf.CodedOutputStream
9056 .computeDoubleSize(31, logIntervalSeconds_);
9057 }
9058 size += getUnknownFields().getSerializedSize();
9059 memoizedSize = size;
9060 return size;
9061 }
9062
9063 @java.lang.Override
9064 public boolean equals(final java.lang.Object obj) {
9065 if (obj == this) {
9066 return true;
9067 }
9069 return super.equals(obj);
9070 }
9072
9073 if (hasTerminationCriteria() != other.hasTerminationCriteria()) return false;
9074 if (hasTerminationCriteria()) {
9076 .equals(other.getTerminationCriteria())) return false;
9077 }
9078 if (hasNumThreads() != other.hasNumThreads()) return false;
9079 if (hasNumThreads()) {
9080 if (getNumThreads()
9081 != other.getNumThreads()) return false;
9082 }
9083 if (hasNumShards() != other.hasNumShards()) return false;
9084 if (hasNumShards()) {
9085 if (getNumShards()
9086 != other.getNumShards()) return false;
9087 }
9088 if (hasRecordIterationStats() != other.hasRecordIterationStats()) return false;
9091 != other.getRecordIterationStats()) return false;
9092 }
9093 if (hasVerbosityLevel() != other.hasVerbosityLevel()) return false;
9094 if (hasVerbosityLevel()) {
9095 if (getVerbosityLevel()
9096 != other.getVerbosityLevel()) return false;
9097 }
9098 if (hasLogIntervalSeconds() != other.hasLogIntervalSeconds()) return false;
9099 if (hasLogIntervalSeconds()) {
9100 if (java.lang.Double.doubleToLongBits(getLogIntervalSeconds())
9101 != java.lang.Double.doubleToLongBits(
9102 other.getLogIntervalSeconds())) return false;
9103 }
9104 if (hasMajorIterationFrequency() != other.hasMajorIterationFrequency()) return false;
9107 != other.getMajorIterationFrequency()) return false;
9108 }
9109 if (hasTerminationCheckFrequency() != other.hasTerminationCheckFrequency()) return false;
9112 != other.getTerminationCheckFrequency()) return false;
9113 }
9114 if (hasRestartStrategy() != other.hasRestartStrategy()) return false;
9115 if (hasRestartStrategy()) {
9116 if (restartStrategy_ != other.restartStrategy_) return false;
9117 }
9120 if (java.lang.Double.doubleToLongBits(getPrimalWeightUpdateSmoothing())
9121 != java.lang.Double.doubleToLongBits(
9122 other.getPrimalWeightUpdateSmoothing())) return false;
9123 }
9124 if (hasInitialPrimalWeight() != other.hasInitialPrimalWeight()) return false;
9125 if (hasInitialPrimalWeight()) {
9126 if (java.lang.Double.doubleToLongBits(getInitialPrimalWeight())
9127 != java.lang.Double.doubleToLongBits(
9128 other.getInitialPrimalWeight())) return false;
9129 }
9130 if (hasPresolveOptions() != other.hasPresolveOptions()) return false;
9131 if (hasPresolveOptions()) {
9132 if (!getPresolveOptions()
9133 .equals(other.getPresolveOptions())) return false;
9134 }
9135 if (hasLInfRuizIterations() != other.hasLInfRuizIterations()) return false;
9136 if (hasLInfRuizIterations()) {
9138 != other.getLInfRuizIterations()) return false;
9139 }
9140 if (hasL2NormRescaling() != other.hasL2NormRescaling()) return false;
9141 if (hasL2NormRescaling()) {
9142 if (getL2NormRescaling()
9143 != other.getL2NormRescaling()) return false;
9144 }
9147 if (java.lang.Double.doubleToLongBits(getSufficientReductionForRestart())
9148 != java.lang.Double.doubleToLongBits(
9149 other.getSufficientReductionForRestart())) return false;
9150 }
9153 if (java.lang.Double.doubleToLongBits(getNecessaryReductionForRestart())
9154 != java.lang.Double.doubleToLongBits(
9155 other.getNecessaryReductionForRestart())) return false;
9156 }
9157 if (hasLinesearchRule() != other.hasLinesearchRule()) return false;
9158 if (hasLinesearchRule()) {
9159 if (linesearchRule_ != other.linesearchRule_) return false;
9160 }
9164 .equals(other.getAdaptiveLinesearchParameters())) return false;
9165 }
9166 if (hasMalitskyPockParameters() != other.hasMalitskyPockParameters()) return false;
9169 .equals(other.getMalitskyPockParameters())) return false;
9170 }
9171 if (hasInitialStepSizeScaling() != other.hasInitialStepSizeScaling()) return false;
9173 if (java.lang.Double.doubleToLongBits(getInitialStepSizeScaling())
9174 != java.lang.Double.doubleToLongBits(
9175 other.getInitialStepSizeScaling())) return false;
9176 }
9178 .equals(other.getRandomProjectionSeedsList())) return false;
9181 if (java.lang.Double.doubleToLongBits(getInfiniteConstraintBoundThreshold())
9182 != java.lang.Double.doubleToLongBits(
9183 other.getInfiniteConstraintBoundThreshold())) return false;
9184 }
9189 }
9193 != other.getUseDiagonalQpTrustRegionSolver()) return false;
9194 }
9197 if (java.lang.Double.doubleToLongBits(getDiagonalQpTrustRegionSolverTolerance())
9198 != java.lang.Double.doubleToLongBits(
9199 other.getDiagonalQpTrustRegionSolverTolerance())) return false;
9200 }
9201 if (hasUseFeasibilityPolishing() != other.hasUseFeasibilityPolishing()) return false;
9204 != other.getUseFeasibilityPolishing()) return false;
9205 }
9206 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
9207 return true;
9208 }
9209
9210 @java.lang.Override
9211 public int hashCode() {
9212 if (memoizedHashCode != 0) {
9213 return memoizedHashCode;
9214 }
9215 int hash = 41;
9216 hash = (19 * hash) + getDescriptor().hashCode();
9217 if (hasTerminationCriteria()) {
9218 hash = (37 * hash) + TERMINATION_CRITERIA_FIELD_NUMBER;
9219 hash = (53 * hash) + getTerminationCriteria().hashCode();
9220 }
9221 if (hasNumThreads()) {
9222 hash = (37 * hash) + NUM_THREADS_FIELD_NUMBER;
9223 hash = (53 * hash) + getNumThreads();
9224 }
9225 if (hasNumShards()) {
9226 hash = (37 * hash) + NUM_SHARDS_FIELD_NUMBER;
9227 hash = (53 * hash) + getNumShards();
9228 }
9230 hash = (37 * hash) + RECORD_ITERATION_STATS_FIELD_NUMBER;
9231 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
9233 }
9234 if (hasVerbosityLevel()) {
9235 hash = (37 * hash) + VERBOSITY_LEVEL_FIELD_NUMBER;
9236 hash = (53 * hash) + getVerbosityLevel();
9237 }
9238 if (hasLogIntervalSeconds()) {
9239 hash = (37 * hash) + LOG_INTERVAL_SECONDS_FIELD_NUMBER;
9240 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
9241 java.lang.Double.doubleToLongBits(getLogIntervalSeconds()));
9242 }
9244 hash = (37 * hash) + MAJOR_ITERATION_FREQUENCY_FIELD_NUMBER;
9245 hash = (53 * hash) + getMajorIterationFrequency();
9246 }
9248 hash = (37 * hash) + TERMINATION_CHECK_FREQUENCY_FIELD_NUMBER;
9249 hash = (53 * hash) + getTerminationCheckFrequency();
9250 }
9251 if (hasRestartStrategy()) {
9252 hash = (37 * hash) + RESTART_STRATEGY_FIELD_NUMBER;
9253 hash = (53 * hash) + restartStrategy_;
9254 }
9257 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
9258 java.lang.Double.doubleToLongBits(getPrimalWeightUpdateSmoothing()));
9259 }
9260 if (hasInitialPrimalWeight()) {
9261 hash = (37 * hash) + INITIAL_PRIMAL_WEIGHT_FIELD_NUMBER;
9262 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
9263 java.lang.Double.doubleToLongBits(getInitialPrimalWeight()));
9264 }
9265 if (hasPresolveOptions()) {
9266 hash = (37 * hash) + PRESOLVE_OPTIONS_FIELD_NUMBER;
9267 hash = (53 * hash) + getPresolveOptions().hashCode();
9268 }
9269 if (hasLInfRuizIterations()) {
9270 hash = (37 * hash) + L_INF_RUIZ_ITERATIONS_FIELD_NUMBER;
9271 hash = (53 * hash) + getLInfRuizIterations();
9272 }
9273 if (hasL2NormRescaling()) {
9274 hash = (37 * hash) + L2_NORM_RESCALING_FIELD_NUMBER;
9275 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
9277 }
9280 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
9281 java.lang.Double.doubleToLongBits(getSufficientReductionForRestart()));
9282 }
9285 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
9286 java.lang.Double.doubleToLongBits(getNecessaryReductionForRestart()));
9287 }
9288 if (hasLinesearchRule()) {
9289 hash = (37 * hash) + LINESEARCH_RULE_FIELD_NUMBER;
9290 hash = (53 * hash) + linesearchRule_;
9291 }
9294 hash = (53 * hash) + getAdaptiveLinesearchParameters().hashCode();
9295 }
9297 hash = (37 * hash) + MALITSKY_POCK_PARAMETERS_FIELD_NUMBER;
9298 hash = (53 * hash) + getMalitskyPockParameters().hashCode();
9299 }
9301 hash = (37 * hash) + INITIAL_STEP_SIZE_SCALING_FIELD_NUMBER;
9302 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
9303 java.lang.Double.doubleToLongBits(getInitialStepSizeScaling()));
9304 }
9306 hash = (37 * hash) + RANDOM_PROJECTION_SEEDS_FIELD_NUMBER;
9307 hash = (53 * hash) + getRandomProjectionSeedsList().hashCode();
9308 }
9311 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
9312 java.lang.Double.doubleToLongBits(getInfiniteConstraintBoundThreshold()));
9313 }
9316 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
9318 }
9321 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
9323 }
9326 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
9327 java.lang.Double.doubleToLongBits(getDiagonalQpTrustRegionSolverTolerance()));
9328 }
9330 hash = (37 * hash) + USE_FEASIBILITY_POLISHING_FIELD_NUMBER;
9331 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
9333 }
9334 hash = (29 * hash) + getUnknownFields().hashCode();
9335 memoizedHashCode = hash;
9336 return hash;
9337 }
9338
9340 java.nio.ByteBuffer data)
9341 throws com.google.protobuf.InvalidProtocolBufferException {
9342 return PARSER.parseFrom(data);
9343 }
9345 java.nio.ByteBuffer data,
9346 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9347 throws com.google.protobuf.InvalidProtocolBufferException {
9348 return PARSER.parseFrom(data, extensionRegistry);
9349 }
9351 com.google.protobuf.ByteString data)
9352 throws com.google.protobuf.InvalidProtocolBufferException {
9353 return PARSER.parseFrom(data);
9354 }
9356 com.google.protobuf.ByteString data,
9357 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9358 throws com.google.protobuf.InvalidProtocolBufferException {
9359 return PARSER.parseFrom(data, extensionRegistry);
9360 }
9362 throws com.google.protobuf.InvalidProtocolBufferException {
9363 return PARSER.parseFrom(data);
9364 }
9366 byte[] data,
9367 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9368 throws com.google.protobuf.InvalidProtocolBufferException {
9369 return PARSER.parseFrom(data, extensionRegistry);
9370 }
9372 throws java.io.IOException {
9373 return com.google.protobuf.GeneratedMessageV3
9374 .parseWithIOException(PARSER, input);
9375 }
9377 java.io.InputStream input,
9378 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9379 throws java.io.IOException {
9380 return com.google.protobuf.GeneratedMessageV3
9381 .parseWithIOException(PARSER, input, extensionRegistry);
9382 }
9383
9385 throws java.io.IOException {
9386 return com.google.protobuf.GeneratedMessageV3
9387 .parseDelimitedWithIOException(PARSER, input);
9388 }
9389
9391 java.io.InputStream input,
9392 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9393 throws java.io.IOException {
9394 return com.google.protobuf.GeneratedMessageV3
9395 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
9396 }
9398 com.google.protobuf.CodedInputStream input)
9399 throws java.io.IOException {
9400 return com.google.protobuf.GeneratedMessageV3
9401 .parseWithIOException(PARSER, input);
9402 }
9404 com.google.protobuf.CodedInputStream input,
9405 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9406 throws java.io.IOException {
9407 return com.google.protobuf.GeneratedMessageV3
9408 .parseWithIOException(PARSER, input, extensionRegistry);
9409 }
9410
9411 @java.lang.Override
9412 public Builder newBuilderForType() { return newBuilder(); }
9413 public static Builder newBuilder() {
9414 return DEFAULT_INSTANCE.toBuilder();
9415 }
9417 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
9418 }
9419 @java.lang.Override
9421 return this == DEFAULT_INSTANCE
9422 ? new Builder() : new Builder().mergeFrom(this);
9423 }
9424
9425 @java.lang.Override
9427 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
9428 Builder builder = new Builder(parent);
9429 return builder;
9430 }
9447 public static final class Builder extends
9448 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
9449 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.PrimalDualHybridGradientParams)
9451 public static final com.google.protobuf.Descriptors.Descriptor
9453 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_descriptor;
9454 }
9455
9456 @java.lang.Override
9457 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
9459 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_fieldAccessorTable
9460 .ensureFieldAccessorsInitialized(
9462 }
9463
9464 // Construct using operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.newBuilder()
9465 private Builder() {
9466 maybeForceBuilderInitialization();
9467 }
9468
9469 private Builder(
9470 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
9471 super(parent);
9472 maybeForceBuilderInitialization();
9473 }
9474 private void maybeForceBuilderInitialization() {
9475 if (com.google.protobuf.GeneratedMessageV3
9476 .alwaysUseFieldBuilders) {
9477 getTerminationCriteriaFieldBuilder();
9478 getPresolveOptionsFieldBuilder();
9479 getAdaptiveLinesearchParametersFieldBuilder();
9480 getMalitskyPockParametersFieldBuilder();
9481 }
9482 }
9483 @java.lang.Override
9484 public Builder clear() {
9485 super.clear();
9486 bitField0_ = 0;
9487 terminationCriteria_ = null;
9488 if (terminationCriteriaBuilder_ != null) {
9489 terminationCriteriaBuilder_.dispose();
9490 terminationCriteriaBuilder_ = null;
9491 }
9492 numThreads_ = 1;
9493 numShards_ = 0;
9494 recordIterationStats_ = false;
9495 verbosityLevel_ = 0;
9496 logIntervalSeconds_ = 0D;
9497 majorIterationFrequency_ = 64;
9498 terminationCheckFrequency_ = 64;
9499 restartStrategy_ = 3;
9500 primalWeightUpdateSmoothing_ = 0.5D;
9501 initialPrimalWeight_ = 0D;
9502 presolveOptions_ = null;
9503 if (presolveOptionsBuilder_ != null) {
9504 presolveOptionsBuilder_.dispose();
9505 presolveOptionsBuilder_ = null;
9506 }
9507 lInfRuizIterations_ = 5;
9508 l2NormRescaling_ = true;
9509 sufficientReductionForRestart_ = 0.1D;
9510 necessaryReductionForRestart_ = 0.9D;
9511 linesearchRule_ = 1;
9512 adaptiveLinesearchParameters_ = null;
9513 if (adaptiveLinesearchParametersBuilder_ != null) {
9514 adaptiveLinesearchParametersBuilder_.dispose();
9515 adaptiveLinesearchParametersBuilder_ = null;
9516 }
9517 malitskyPockParameters_ = null;
9518 if (malitskyPockParametersBuilder_ != null) {
9519 malitskyPockParametersBuilder_.dispose();
9520 malitskyPockParametersBuilder_ = null;
9521 }
9522 initialStepSizeScaling_ = 1D;
9523 randomProjectionSeeds_ = emptyIntList();
9524 infiniteConstraintBoundThreshold_ = Double.POSITIVE_INFINITY;
9525 handleSomePrimalGradientsOnFiniteBoundsAsResiduals_ = true;
9526 useDiagonalQpTrustRegionSolver_ = false;
9527 diagonalQpTrustRegionSolverTolerance_ = 1e-08D;
9528 useFeasibilityPolishing_ = false;
9529 return this;
9530 }
9531
9532 @java.lang.Override
9533 public com.google.protobuf.Descriptors.Descriptor
9535 return operations_research.pdlp.Solvers.internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_descriptor;
9536 }
9537
9538 @java.lang.Override
9542
9543 @java.lang.Override
9546 if (!result.isInitialized()) {
9547 throw newUninitializedMessageException(result);
9548 }
9549 return result;
9550 }
9551
9552 @java.lang.Override
9555 if (bitField0_ != 0) { buildPartial0(result); }
9556 onBuilt();
9557 return result;
9558 }
9559
9560 private void buildPartial0(operations_research.pdlp.Solvers.PrimalDualHybridGradientParams result) {
9561 int from_bitField0_ = bitField0_;
9562 int to_bitField0_ = 0;
9563 if (((from_bitField0_ & 0x00000001) != 0)) {
9564 result.terminationCriteria_ = terminationCriteriaBuilder_ == null
9565 ? terminationCriteria_
9566 : terminationCriteriaBuilder_.build();
9567 to_bitField0_ |= 0x00000001;
9568 }
9569 if (((from_bitField0_ & 0x00000002) != 0)) {
9570 result.numThreads_ = numThreads_;
9571 to_bitField0_ |= 0x00000002;
9572 }
9573 if (((from_bitField0_ & 0x00000004) != 0)) {
9574 result.numShards_ = numShards_;
9575 to_bitField0_ |= 0x00000004;
9576 }
9577 if (((from_bitField0_ & 0x00000008) != 0)) {
9578 result.recordIterationStats_ = recordIterationStats_;
9579 to_bitField0_ |= 0x00000008;
9580 }
9581 if (((from_bitField0_ & 0x00000010) != 0)) {
9582 result.verbosityLevel_ = verbosityLevel_;
9583 to_bitField0_ |= 0x00000010;
9584 }
9585 if (((from_bitField0_ & 0x00000020) != 0)) {
9586 result.logIntervalSeconds_ = logIntervalSeconds_;
9587 to_bitField0_ |= 0x00000020;
9588 }
9589 if (((from_bitField0_ & 0x00000040) != 0)) {
9590 result.majorIterationFrequency_ = majorIterationFrequency_;
9591 to_bitField0_ |= 0x00000040;
9592 }
9593 if (((from_bitField0_ & 0x00000080) != 0)) {
9594 result.terminationCheckFrequency_ = terminationCheckFrequency_;
9595 to_bitField0_ |= 0x00000080;
9596 }
9597 if (((from_bitField0_ & 0x00000100) != 0)) {
9598 result.restartStrategy_ = restartStrategy_;
9599 to_bitField0_ |= 0x00000100;
9600 }
9601 if (((from_bitField0_ & 0x00000200) != 0)) {
9602 result.primalWeightUpdateSmoothing_ = primalWeightUpdateSmoothing_;
9603 to_bitField0_ |= 0x00000200;
9604 }
9605 if (((from_bitField0_ & 0x00000400) != 0)) {
9606 result.initialPrimalWeight_ = initialPrimalWeight_;
9607 to_bitField0_ |= 0x00000400;
9608 }
9609 if (((from_bitField0_ & 0x00000800) != 0)) {
9610 result.presolveOptions_ = presolveOptionsBuilder_ == null
9611 ? presolveOptions_
9612 : presolveOptionsBuilder_.build();
9613 to_bitField0_ |= 0x00000800;
9614 }
9615 if (((from_bitField0_ & 0x00001000) != 0)) {
9616 result.lInfRuizIterations_ = lInfRuizIterations_;
9617 to_bitField0_ |= 0x00001000;
9618 }
9619 if (((from_bitField0_ & 0x00002000) != 0)) {
9620 result.l2NormRescaling_ = l2NormRescaling_;
9621 to_bitField0_ |= 0x00002000;
9622 }
9623 if (((from_bitField0_ & 0x00004000) != 0)) {
9624 result.sufficientReductionForRestart_ = sufficientReductionForRestart_;
9625 to_bitField0_ |= 0x00004000;
9626 }
9627 if (((from_bitField0_ & 0x00008000) != 0)) {
9628 result.necessaryReductionForRestart_ = necessaryReductionForRestart_;
9629 to_bitField0_ |= 0x00008000;
9630 }
9631 if (((from_bitField0_ & 0x00010000) != 0)) {
9632 result.linesearchRule_ = linesearchRule_;
9633 to_bitField0_ |= 0x00010000;
9634 }
9635 if (((from_bitField0_ & 0x00020000) != 0)) {
9636 result.adaptiveLinesearchParameters_ = adaptiveLinesearchParametersBuilder_ == null
9637 ? adaptiveLinesearchParameters_
9638 : adaptiveLinesearchParametersBuilder_.build();
9639 to_bitField0_ |= 0x00020000;
9640 }
9641 if (((from_bitField0_ & 0x00040000) != 0)) {
9642 result.malitskyPockParameters_ = malitskyPockParametersBuilder_ == null
9643 ? malitskyPockParameters_
9644 : malitskyPockParametersBuilder_.build();
9645 to_bitField0_ |= 0x00040000;
9646 }
9647 if (((from_bitField0_ & 0x00080000) != 0)) {
9648 result.initialStepSizeScaling_ = initialStepSizeScaling_;
9649 to_bitField0_ |= 0x00080000;
9650 }
9651 if (((from_bitField0_ & 0x00100000) != 0)) {
9652 randomProjectionSeeds_.makeImmutable();
9653 result.randomProjectionSeeds_ = randomProjectionSeeds_;
9654 }
9655 if (((from_bitField0_ & 0x00200000) != 0)) {
9656 result.infiniteConstraintBoundThreshold_ = infiniteConstraintBoundThreshold_;
9657 to_bitField0_ |= 0x00100000;
9658 }
9659 if (((from_bitField0_ & 0x00400000) != 0)) {
9660 result.handleSomePrimalGradientsOnFiniteBoundsAsResiduals_ = handleSomePrimalGradientsOnFiniteBoundsAsResiduals_;
9661 to_bitField0_ |= 0x00200000;
9662 }
9663 if (((from_bitField0_ & 0x00800000) != 0)) {
9664 result.useDiagonalQpTrustRegionSolver_ = useDiagonalQpTrustRegionSolver_;
9665 to_bitField0_ |= 0x00400000;
9666 }
9667 if (((from_bitField0_ & 0x01000000) != 0)) {
9668 result.diagonalQpTrustRegionSolverTolerance_ = diagonalQpTrustRegionSolverTolerance_;
9669 to_bitField0_ |= 0x00800000;
9670 }
9671 if (((from_bitField0_ & 0x02000000) != 0)) {
9672 result.useFeasibilityPolishing_ = useFeasibilityPolishing_;
9673 to_bitField0_ |= 0x01000000;
9674 }
9675 result.bitField0_ |= to_bitField0_;
9676 }
9677
9678 @java.lang.Override
9679 public Builder clone() {
9680 return super.clone();
9681 }
9682 @java.lang.Override
9684 com.google.protobuf.Descriptors.FieldDescriptor field,
9685 java.lang.Object value) {
9686 return super.setField(field, value);
9687 }
9688 @java.lang.Override
9690 com.google.protobuf.Descriptors.FieldDescriptor field) {
9691 return super.clearField(field);
9692 }
9693 @java.lang.Override
9695 com.google.protobuf.Descriptors.OneofDescriptor oneof) {
9696 return super.clearOneof(oneof);
9697 }
9698 @java.lang.Override
9700 com.google.protobuf.Descriptors.FieldDescriptor field,
9701 int index, java.lang.Object value) {
9702 return super.setRepeatedField(field, index, value);
9703 }
9704 @java.lang.Override
9706 com.google.protobuf.Descriptors.FieldDescriptor field,
9707 java.lang.Object value) {
9708 return super.addRepeatedField(field, value);
9709 }
9710 @java.lang.Override
9711 public Builder mergeFrom(com.google.protobuf.Message other) {
9714 } else {
9715 super.mergeFrom(other);
9716 return this;
9717 }
9718 }
9719
9722 if (other.hasTerminationCriteria()) {
9723 mergeTerminationCriteria(other.getTerminationCriteria());
9724 }
9725 if (other.hasNumThreads()) {
9726 setNumThreads(other.getNumThreads());
9727 }
9728 if (other.hasNumShards()) {
9729 setNumShards(other.getNumShards());
9730 }
9731 if (other.hasRecordIterationStats()) {
9732 setRecordIterationStats(other.getRecordIterationStats());
9733 }
9734 if (other.hasVerbosityLevel()) {
9735 setVerbosityLevel(other.getVerbosityLevel());
9736 }
9737 if (other.hasLogIntervalSeconds()) {
9738 setLogIntervalSeconds(other.getLogIntervalSeconds());
9739 }
9740 if (other.hasMajorIterationFrequency()) {
9741 setMajorIterationFrequency(other.getMajorIterationFrequency());
9742 }
9743 if (other.hasTerminationCheckFrequency()) {
9744 setTerminationCheckFrequency(other.getTerminationCheckFrequency());
9745 }
9746 if (other.hasRestartStrategy()) {
9747 setRestartStrategy(other.getRestartStrategy());
9748 }
9749 if (other.hasPrimalWeightUpdateSmoothing()) {
9750 setPrimalWeightUpdateSmoothing(other.getPrimalWeightUpdateSmoothing());
9751 }
9752 if (other.hasInitialPrimalWeight()) {
9753 setInitialPrimalWeight(other.getInitialPrimalWeight());
9754 }
9755 if (other.hasPresolveOptions()) {
9756 mergePresolveOptions(other.getPresolveOptions());
9757 }
9758 if (other.hasLInfRuizIterations()) {
9759 setLInfRuizIterations(other.getLInfRuizIterations());
9760 }
9761 if (other.hasL2NormRescaling()) {
9762 setL2NormRescaling(other.getL2NormRescaling());
9763 }
9764 if (other.hasSufficientReductionForRestart()) {
9765 setSufficientReductionForRestart(other.getSufficientReductionForRestart());
9766 }
9767 if (other.hasNecessaryReductionForRestart()) {
9768 setNecessaryReductionForRestart(other.getNecessaryReductionForRestart());
9769 }
9770 if (other.hasLinesearchRule()) {
9771 setLinesearchRule(other.getLinesearchRule());
9772 }
9773 if (other.hasAdaptiveLinesearchParameters()) {
9774 mergeAdaptiveLinesearchParameters(other.getAdaptiveLinesearchParameters());
9775 }
9776 if (other.hasMalitskyPockParameters()) {
9777 mergeMalitskyPockParameters(other.getMalitskyPockParameters());
9778 }
9779 if (other.hasInitialStepSizeScaling()) {
9780 setInitialStepSizeScaling(other.getInitialStepSizeScaling());
9781 }
9782 if (!other.randomProjectionSeeds_.isEmpty()) {
9783 if (randomProjectionSeeds_.isEmpty()) {
9784 randomProjectionSeeds_ = other.randomProjectionSeeds_;
9785 randomProjectionSeeds_.makeImmutable();
9786 bitField0_ |= 0x00100000;
9787 } else {
9788 ensureRandomProjectionSeedsIsMutable();
9789 randomProjectionSeeds_.addAll(other.randomProjectionSeeds_);
9790 }
9791 onChanged();
9792 }
9793 if (other.hasInfiniteConstraintBoundThreshold()) {
9794 setInfiniteConstraintBoundThreshold(other.getInfiniteConstraintBoundThreshold());
9795 }
9796 if (other.hasHandleSomePrimalGradientsOnFiniteBoundsAsResiduals()) {
9797 setHandleSomePrimalGradientsOnFiniteBoundsAsResiduals(other.getHandleSomePrimalGradientsOnFiniteBoundsAsResiduals());
9798 }
9799 if (other.hasUseDiagonalQpTrustRegionSolver()) {
9800 setUseDiagonalQpTrustRegionSolver(other.getUseDiagonalQpTrustRegionSolver());
9801 }
9802 if (other.hasDiagonalQpTrustRegionSolverTolerance()) {
9803 setDiagonalQpTrustRegionSolverTolerance(other.getDiagonalQpTrustRegionSolverTolerance());
9804 }
9805 if (other.hasUseFeasibilityPolishing()) {
9806 setUseFeasibilityPolishing(other.getUseFeasibilityPolishing());
9807 }
9808 this.mergeUnknownFields(other.getUnknownFields());
9809 onChanged();
9810 return this;
9811 }
9812
9813 @java.lang.Override
9814 public final boolean isInitialized() {
9815 return true;
9816 }
9817
9818 @java.lang.Override
9820 com.google.protobuf.CodedInputStream input,
9821 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
9822 throws java.io.IOException {
9823 if (extensionRegistry == null) {
9824 throw new java.lang.NullPointerException();
9825 }
9826 try {
9827 boolean done = false;
9828 while (!done) {
9829 int tag = input.readTag();
9830 switch (tag) {
9831 case 0:
9832 done = true;
9833 break;
9834 case 10: {
9835 input.readMessage(
9836 getTerminationCriteriaFieldBuilder().getBuilder(),
9837 extensionRegistry);
9838 bitField0_ |= 0x00000001;
9839 break;
9840 } // case 10
9841 case 16: {
9842 numThreads_ = input.readInt32();
9843 bitField0_ |= 0x00000002;
9844 break;
9845 } // case 16
9846 case 24: {
9847 recordIterationStats_ = input.readBool();
9848 bitField0_ |= 0x00000008;
9849 break;
9850 } // case 24
9851 case 32: {
9852 majorIterationFrequency_ = input.readInt32();
9853 bitField0_ |= 0x00000040;
9854 break;
9855 } // case 32
9856 case 40: {
9857 terminationCheckFrequency_ = input.readInt32();
9858 bitField0_ |= 0x00000080;
9859 break;
9860 } // case 40
9861 case 48: {
9862 int tmpRaw = input.readEnum();
9865 if (tmpValue == null) {
9866 mergeUnknownVarintField(6, tmpRaw);
9867 } else {
9868 restartStrategy_ = tmpRaw;
9869 bitField0_ |= 0x00000100;
9870 }
9871 break;
9872 } // case 48
9873 case 57: {
9874 primalWeightUpdateSmoothing_ = input.readDouble();
9875 bitField0_ |= 0x00000200;
9876 break;
9877 } // case 57
9878 case 65: {
9879 initialPrimalWeight_ = input.readDouble();
9880 bitField0_ |= 0x00000400;
9881 break;
9882 } // case 65
9883 case 72: {
9884 lInfRuizIterations_ = input.readInt32();
9885 bitField0_ |= 0x00001000;
9886 break;
9887 } // case 72
9888 case 80: {
9889 l2NormRescaling_ = input.readBool();
9890 bitField0_ |= 0x00002000;
9891 break;
9892 } // case 80
9893 case 89: {
9894 sufficientReductionForRestart_ = input.readDouble();
9895 bitField0_ |= 0x00004000;
9896 break;
9897 } // case 89
9898 case 96: {
9899 int tmpRaw = input.readEnum();
9902 if (tmpValue == null) {
9903 mergeUnknownVarintField(12, tmpRaw);
9904 } else {
9905 linesearchRule_ = tmpRaw;
9906 bitField0_ |= 0x00010000;
9907 }
9908 break;
9909 } // case 96
9910 case 130: {
9911 input.readMessage(
9912 getPresolveOptionsFieldBuilder().getBuilder(),
9913 extensionRegistry);
9914 bitField0_ |= 0x00000800;
9915 break;
9916 } // case 130
9917 case 137: {
9918 necessaryReductionForRestart_ = input.readDouble();
9919 bitField0_ |= 0x00008000;
9920 break;
9921 } // case 137
9922 case 146: {
9923 input.readMessage(
9924 getAdaptiveLinesearchParametersFieldBuilder().getBuilder(),
9925 extensionRegistry);
9926 bitField0_ |= 0x00020000;
9927 break;
9928 } // case 146
9929 case 154: {
9930 input.readMessage(
9931 getMalitskyPockParametersFieldBuilder().getBuilder(),
9932 extensionRegistry);
9933 bitField0_ |= 0x00040000;
9934 break;
9935 } // case 154
9936 case 177: {
9937 infiniteConstraintBoundThreshold_ = input.readDouble();
9938 bitField0_ |= 0x00200000;
9939 break;
9940 } // case 177
9941 case 184: {
9942 useDiagonalQpTrustRegionSolver_ = input.readBool();
9943 bitField0_ |= 0x00800000;
9944 break;
9945 } // case 184
9946 case 193: {
9947 diagonalQpTrustRegionSolverTolerance_ = input.readDouble();
9948 bitField0_ |= 0x01000000;
9949 break;
9950 } // case 193
9951 case 201: {
9952 initialStepSizeScaling_ = input.readDouble();
9953 bitField0_ |= 0x00080000;
9954 break;
9955 } // case 201
9956 case 208: {
9957 verbosityLevel_ = input.readInt32();
9958 bitField0_ |= 0x00000010;
9959 break;
9960 } // case 208
9961 case 216: {
9962 numShards_ = input.readInt32();
9963 bitField0_ |= 0x00000004;
9964 break;
9965 } // case 216
9966 case 224: {
9967 int v = input.readInt32();
9968 ensureRandomProjectionSeedsIsMutable();
9969 randomProjectionSeeds_.addInt(v);
9970 break;
9971 } // case 224
9972 case 226: {
9973 int length = input.readRawVarint32();
9974 int limit = input.pushLimit(length);
9975 ensureRandomProjectionSeedsIsMutable();
9976 while (input.getBytesUntilLimit() > 0) {
9977 randomProjectionSeeds_.addInt(input.readInt32());
9978 }
9979 input.popLimit(limit);
9980 break;
9981 } // case 226
9982 case 232: {
9983 handleSomePrimalGradientsOnFiniteBoundsAsResiduals_ = input.readBool();
9984 bitField0_ |= 0x00400000;
9985 break;
9986 } // case 232
9987 case 240: {
9988 useFeasibilityPolishing_ = input.readBool();
9989 bitField0_ |= 0x02000000;
9990 break;
9991 } // case 240
9992 case 249: {
9993 logIntervalSeconds_ = input.readDouble();
9994 bitField0_ |= 0x00000020;
9995 break;
9996 } // case 249
9997 default: {
9998 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
9999 done = true; // was an endgroup tag
10000 }
10001 break;
10002 } // default:
10003 } // switch (tag)
10004 } // while (!done)
10005 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
10006 throw e.unwrapIOException();
10007 } finally {
10008 onChanged();
10009 } // finally
10010 return this;
10011 }
10012 private int bitField0_;
10013
10014 private operations_research.pdlp.Solvers.TerminationCriteria terminationCriteria_;
10015 private com.google.protobuf.SingleFieldBuilderV3<
10021 public boolean hasTerminationCriteria() {
10022 return ((bitField0_ & 0x00000001) != 0);
10023 }
10029 if (terminationCriteriaBuilder_ == null) {
10030 return terminationCriteria_ == null ? operations_research.pdlp.Solvers.TerminationCriteria.getDefaultInstance() : terminationCriteria_;
10031 } else {
10032 return terminationCriteriaBuilder_.getMessage();
10033 }
10034 }
10039 if (terminationCriteriaBuilder_ == null) {
10040 if (value == null) {
10041 throw new NullPointerException();
10042 }
10043 terminationCriteria_ = value;
10044 } else {
10045 terminationCriteriaBuilder_.setMessage(value);
10046 }
10047 bitField0_ |= 0x00000001;
10048 onChanged();
10049 return this;
10050 }
10056 if (terminationCriteriaBuilder_ == null) {
10057 terminationCriteria_ = builderForValue.build();
10058 } else {
10059 terminationCriteriaBuilder_.setMessage(builderForValue.build());
10060 }
10061 bitField0_ |= 0x00000001;
10062 onChanged();
10063 return this;
10064 }
10069 if (terminationCriteriaBuilder_ == null) {
10070 if (((bitField0_ & 0x00000001) != 0) &&
10071 terminationCriteria_ != null &&
10073 getTerminationCriteriaBuilder().mergeFrom(value);
10074 } else {
10075 terminationCriteria_ = value;
10076 }
10077 } else {
10078 terminationCriteriaBuilder_.mergeFrom(value);
10079 }
10080 if (terminationCriteria_ != null) {
10081 bitField0_ |= 0x00000001;
10082 onChanged();
10083 }
10084 return this;
10085 }
10090 bitField0_ = (bitField0_ & ~0x00000001);
10091 terminationCriteria_ = null;
10092 if (terminationCriteriaBuilder_ != null) {
10093 terminationCriteriaBuilder_.dispose();
10094 terminationCriteriaBuilder_ = null;
10095 }
10096 onChanged();
10097 return this;
10098 }
10103 bitField0_ |= 0x00000001;
10104 onChanged();
10105 return getTerminationCriteriaFieldBuilder().getBuilder();
10106 }
10111 if (terminationCriteriaBuilder_ != null) {
10112 return terminationCriteriaBuilder_.getMessageOrBuilder();
10113 } else {
10114 return terminationCriteria_ == null ?
10116 }
10117 }
10121 private com.google.protobuf.SingleFieldBuilderV3<
10123 getTerminationCriteriaFieldBuilder() {
10124 if (terminationCriteriaBuilder_ == null) {
10125 terminationCriteriaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
10128 getParentForChildren(),
10129 isClean());
10130 terminationCriteria_ = null;
10131 }
10132 return terminationCriteriaBuilder_;
10133 }
10134
10135 private int numThreads_ = 1;
10147 @java.lang.Override
10148 public boolean hasNumThreads() {
10149 return ((bitField0_ & 0x00000002) != 0);
10150 }
10162 @java.lang.Override
10163 public int getNumThreads() {
10164 return numThreads_;
10165 }
10178 public Builder setNumThreads(int value) {
10179
10180 numThreads_ = value;
10181 bitField0_ |= 0x00000002;
10182 onChanged();
10183 return this;
10184 }
10197 bitField0_ = (bitField0_ & ~0x00000002);
10198 numThreads_ = 1;
10199 onChanged();
10200 return this;
10201 }
10202
10203 private int numShards_ ;
10220 @java.lang.Override
10221 public boolean hasNumShards() {
10222 return ((bitField0_ & 0x00000004) != 0);
10223 }
10240 @java.lang.Override
10241 public int getNumShards() {
10242 return numShards_;
10243 }
10261 public Builder setNumShards(int value) {
10262
10263 numShards_ = value;
10264 bitField0_ |= 0x00000004;
10265 onChanged();
10266 return this;
10267 }
10285 bitField0_ = (bitField0_ & ~0x00000004);
10286 numShards_ = 0;
10287 onChanged();
10288 return this;
10289 }
10290
10291 private boolean recordIterationStats_ ;
10303 @java.lang.Override
10304 public boolean hasRecordIterationStats() {
10305 return ((bitField0_ & 0x00000008) != 0);
10306 }
10318 @java.lang.Override
10319 public boolean getRecordIterationStats() {
10320 return recordIterationStats_;
10321 }
10334 public Builder setRecordIterationStats(boolean value) {
10335
10336 recordIterationStats_ = value;
10337 bitField0_ |= 0x00000008;
10338 onChanged();
10339 return this;
10340 }
10353 bitField0_ = (bitField0_ & ~0x00000008);
10354 recordIterationStats_ = false;
10355 onChanged();
10356 return this;
10357 }
10358
10359 private int verbosityLevel_ ;
10378 @java.lang.Override
10379 public boolean hasVerbosityLevel() {
10380 return ((bitField0_ & 0x00000010) != 0);
10381 }
10400 @java.lang.Override
10401 public int getVerbosityLevel() {
10402 return verbosityLevel_;
10403 }
10423 public Builder setVerbosityLevel(int value) {
10424
10425 verbosityLevel_ = value;
10426 bitField0_ |= 0x00000010;
10427 onChanged();
10428 return this;
10429 }
10449 bitField0_ = (bitField0_ & ~0x00000010);
10450 verbosityLevel_ = 0;
10451 onChanged();
10452 return this;
10453 }
10454
10455 private double logIntervalSeconds_ ;
10468 @java.lang.Override
10469 public boolean hasLogIntervalSeconds() {
10470 return ((bitField0_ & 0x00000020) != 0);
10471 }
10484 @java.lang.Override
10485 public double getLogIntervalSeconds() {
10486 return logIntervalSeconds_;
10487 }
10501 public Builder setLogIntervalSeconds(double value) {
10502
10503 logIntervalSeconds_ = value;
10504 bitField0_ |= 0x00000020;
10505 onChanged();
10506 return this;
10507 }
10521 bitField0_ = (bitField0_ & ~0x00000020);
10522 logIntervalSeconds_ = 0D;
10523 onChanged();
10524 return this;
10525 }
10526
10527 private int majorIterationFrequency_ = 64;
10541 @java.lang.Override
10543 return ((bitField0_ & 0x00000040) != 0);
10544 }
10558 @java.lang.Override
10560 return majorIterationFrequency_;
10561 }
10577
10578 majorIterationFrequency_ = value;
10579 bitField0_ |= 0x00000040;
10580 onChanged();
10581 return this;
10582 }
10597 bitField0_ = (bitField0_ & ~0x00000040);
10598 majorIterationFrequency_ = 64;
10599 onChanged();
10600 return this;
10601 }
10602
10603 private int terminationCheckFrequency_ = 64;
10614 @java.lang.Override
10616 return ((bitField0_ & 0x00000080) != 0);
10617 }
10628 @java.lang.Override
10630 return terminationCheckFrequency_;
10631 }
10644
10645 terminationCheckFrequency_ = value;
10646 bitField0_ |= 0x00000080;
10647 onChanged();
10648 return this;
10649 }
10661 bitField0_ = (bitField0_ & ~0x00000080);
10662 terminationCheckFrequency_ = 64;
10663 onChanged();
10664 return this;
10665 }
10666
10667 private int restartStrategy_ = 3;
10678 @java.lang.Override public boolean hasRestartStrategy() {
10679 return ((bitField0_ & 0x00000100) != 0);
10680 }
10691 @java.lang.Override
10694 return result == null ? operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.RestartStrategy.ADAPTIVE_HEURISTIC : result;
10695 }
10708 if (value == null) {
10709 throw new NullPointerException();
10710 }
10711 bitField0_ |= 0x00000100;
10712 restartStrategy_ = value.getNumber();
10713 onChanged();
10714 return this;
10715 }
10727 bitField0_ = (bitField0_ & ~0x00000100);
10728 restartStrategy_ = 3;
10729 onChanged();
10730 return this;
10731 }
10732
10733 private double primalWeightUpdateSmoothing_ = 0.5D;
10749 @java.lang.Override
10751 return ((bitField0_ & 0x00000200) != 0);
10752 }
10768 @java.lang.Override
10770 return primalWeightUpdateSmoothing_;
10771 }
10789
10790 primalWeightUpdateSmoothing_ = value;
10791 bitField0_ |= 0x00000200;
10792 onChanged();
10793 return this;
10794 }
10811 bitField0_ = (bitField0_ & ~0x00000200);
10812 primalWeightUpdateSmoothing_ = 0.5D;
10813 onChanged();
10814 return this;
10815 }
10816
10817 private double initialPrimalWeight_ ;
10832 @java.lang.Override
10833 public boolean hasInitialPrimalWeight() {
10834 return ((bitField0_ & 0x00000400) != 0);
10835 }
10850 @java.lang.Override
10851 public double getInitialPrimalWeight() {
10852 return initialPrimalWeight_;
10853 }
10869 public Builder setInitialPrimalWeight(double value) {
10870
10871 initialPrimalWeight_ = value;
10872 bitField0_ |= 0x00000400;
10873 onChanged();
10874 return this;
10875 }
10891 bitField0_ = (bitField0_ & ~0x00000400);
10892 initialPrimalWeight_ = 0D;
10893 onChanged();
10894 return this;
10895 }
10896
10898 private com.google.protobuf.SingleFieldBuilderV3<
10904 public boolean hasPresolveOptions() {
10905 return ((bitField0_ & 0x00000800) != 0);
10906 }
10912 if (presolveOptionsBuilder_ == null) {
10913 return presolveOptions_ == null ? operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions.getDefaultInstance() : presolveOptions_;
10914 } else {
10915 return presolveOptionsBuilder_.getMessage();
10916 }
10917 }
10922 if (presolveOptionsBuilder_ == null) {
10923 if (value == null) {
10924 throw new NullPointerException();
10925 }
10926 presolveOptions_ = value;
10927 } else {
10928 presolveOptionsBuilder_.setMessage(value);
10929 }
10930 bitField0_ |= 0x00000800;
10931 onChanged();
10932 return this;
10933 }
10939 if (presolveOptionsBuilder_ == null) {
10940 presolveOptions_ = builderForValue.build();
10941 } else {
10942 presolveOptionsBuilder_.setMessage(builderForValue.build());
10943 }
10944 bitField0_ |= 0x00000800;
10945 onChanged();
10946 return this;
10947 }
10952 if (presolveOptionsBuilder_ == null) {
10953 if (((bitField0_ & 0x00000800) != 0) &&
10954 presolveOptions_ != null &&
10956 getPresolveOptionsBuilder().mergeFrom(value);
10957 } else {
10958 presolveOptions_ = value;
10959 }
10960 } else {
10961 presolveOptionsBuilder_.mergeFrom(value);
10962 }
10963 if (presolveOptions_ != null) {
10964 bitField0_ |= 0x00000800;
10965 onChanged();
10966 }
10967 return this;
10968 }
10973 bitField0_ = (bitField0_ & ~0x00000800);
10974 presolveOptions_ = null;
10975 if (presolveOptionsBuilder_ != null) {
10976 presolveOptionsBuilder_.dispose();
10977 presolveOptionsBuilder_ = null;
10978 }
10979 onChanged();
10980 return this;
10981 }
10986 bitField0_ |= 0x00000800;
10987 onChanged();
10988 return getPresolveOptionsFieldBuilder().getBuilder();
10989 }
10994 if (presolveOptionsBuilder_ != null) {
10995 return presolveOptionsBuilder_.getMessageOrBuilder();
10996 } else {
10997 return presolveOptions_ == null ?
10999 }
11000 }
11004 private com.google.protobuf.SingleFieldBuilderV3<
11006 getPresolveOptionsFieldBuilder() {
11007 if (presolveOptionsBuilder_ == null) {
11008 presolveOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
11011 getParentForChildren(),
11012 isClean());
11013 presolveOptions_ = null;
11014 }
11015 return presolveOptionsBuilder_;
11016 }
11017
11018 private int lInfRuizIterations_ = 5;
11029 @java.lang.Override
11030 public boolean hasLInfRuizIterations() {
11031 return ((bitField0_ & 0x00001000) != 0);
11032 }
11043 @java.lang.Override
11045 return lInfRuizIterations_;
11046 }
11058 public Builder setLInfRuizIterations(int value) {
11059
11060 lInfRuizIterations_ = value;
11061 bitField0_ |= 0x00001000;
11062 onChanged();
11063 return this;
11064 }
11076 bitField0_ = (bitField0_ & ~0x00001000);
11077 lInfRuizIterations_ = 5;
11078 onChanged();
11079 return this;
11080 }
11081
11082 private boolean l2NormRescaling_ = true;
11092 @java.lang.Override
11093 public boolean hasL2NormRescaling() {
11094 return ((bitField0_ & 0x00002000) != 0);
11095 }
11105 @java.lang.Override
11106 public boolean getL2NormRescaling() {
11107 return l2NormRescaling_;
11108 }
11119 public Builder setL2NormRescaling(boolean value) {
11120
11121 l2NormRescaling_ = value;
11122 bitField0_ |= 0x00002000;
11123 onChanged();
11124 return this;
11125 }
11136 bitField0_ = (bitField0_ & ~0x00002000);
11137 l2NormRescaling_ = true;
11138 onChanged();
11139 return this;
11140 }
11141
11142 private double sufficientReductionForRestart_ = 0.1D;
11153 @java.lang.Override
11155 return ((bitField0_ & 0x00004000) != 0);
11156 }
11167 @java.lang.Override
11169 return sufficientReductionForRestart_;
11170 }
11183
11184 sufficientReductionForRestart_ = value;
11185 bitField0_ |= 0x00004000;
11186 onChanged();
11187 return this;
11188 }
11200 bitField0_ = (bitField0_ & ~0x00004000);
11201 sufficientReductionForRestart_ = 0.1D;
11202 onChanged();
11203 return this;
11204 }
11205
11206 private double necessaryReductionForRestart_ = 0.9D;
11219 @java.lang.Override
11221 return ((bitField0_ & 0x00008000) != 0);
11222 }
11235 @java.lang.Override
11237 return necessaryReductionForRestart_;
11238 }
11253
11254 necessaryReductionForRestart_ = value;
11255 bitField0_ |= 0x00008000;
11256 onChanged();
11257 return this;
11258 }
11272 bitField0_ = (bitField0_ & ~0x00008000);
11273 necessaryReductionForRestart_ = 0.9D;
11274 onChanged();
11275 return this;
11276 }
11277
11278 private int linesearchRule_ = 1;
11287 @java.lang.Override public boolean hasLinesearchRule() {
11288 return ((bitField0_ & 0x00010000) != 0);
11289 }
11298 @java.lang.Override
11301 return result == null ? operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.LinesearchRule.ADAPTIVE_LINESEARCH_RULE : result;
11302 }
11313 if (value == null) {
11314 throw new NullPointerException();
11315 }
11316 bitField0_ |= 0x00010000;
11317 linesearchRule_ = value.getNumber();
11318 onChanged();
11319 return this;
11320 }
11330 bitField0_ = (bitField0_ & ~0x00010000);
11331 linesearchRule_ = 1;
11332 onChanged();
11333 return this;
11334 }
11335
11336 private operations_research.pdlp.Solvers.AdaptiveLinesearchParams adaptiveLinesearchParameters_;
11337 private com.google.protobuf.SingleFieldBuilderV3<
11344 return ((bitField0_ & 0x00020000) != 0);
11345 }
11351 if (adaptiveLinesearchParametersBuilder_ == null) {
11352 return adaptiveLinesearchParameters_ == null ? operations_research.pdlp.Solvers.AdaptiveLinesearchParams.getDefaultInstance() : adaptiveLinesearchParameters_;
11353 } else {
11354 return adaptiveLinesearchParametersBuilder_.getMessage();
11355 }
11356 }
11361 if (adaptiveLinesearchParametersBuilder_ == null) {
11362 if (value == null) {
11363 throw new NullPointerException();
11364 }
11365 adaptiveLinesearchParameters_ = value;
11366 } else {
11367 adaptiveLinesearchParametersBuilder_.setMessage(value);
11368 }
11369 bitField0_ |= 0x00020000;
11370 onChanged();
11371 return this;
11372 }
11378 if (adaptiveLinesearchParametersBuilder_ == null) {
11379 adaptiveLinesearchParameters_ = builderForValue.build();
11380 } else {
11381 adaptiveLinesearchParametersBuilder_.setMessage(builderForValue.build());
11382 }
11383 bitField0_ |= 0x00020000;
11384 onChanged();
11385 return this;
11386 }
11391 if (adaptiveLinesearchParametersBuilder_ == null) {
11392 if (((bitField0_ & 0x00020000) != 0) &&
11393 adaptiveLinesearchParameters_ != null &&
11394 adaptiveLinesearchParameters_ != operations_research.pdlp.Solvers.AdaptiveLinesearchParams.getDefaultInstance()) {
11395 getAdaptiveLinesearchParametersBuilder().mergeFrom(value);
11396 } else {
11397 adaptiveLinesearchParameters_ = value;
11398 }
11399 } else {
11400 adaptiveLinesearchParametersBuilder_.mergeFrom(value);
11401 }
11402 if (adaptiveLinesearchParameters_ != null) {
11403 bitField0_ |= 0x00020000;
11404 onChanged();
11405 }
11406 return this;
11407 }
11412 bitField0_ = (bitField0_ & ~0x00020000);
11413 adaptiveLinesearchParameters_ = null;
11414 if (adaptiveLinesearchParametersBuilder_ != null) {
11415 adaptiveLinesearchParametersBuilder_.dispose();
11416 adaptiveLinesearchParametersBuilder_ = null;
11417 }
11418 onChanged();
11419 return this;
11420 }
11425 bitField0_ |= 0x00020000;
11426 onChanged();
11427 return getAdaptiveLinesearchParametersFieldBuilder().getBuilder();
11428 }
11433 if (adaptiveLinesearchParametersBuilder_ != null) {
11434 return adaptiveLinesearchParametersBuilder_.getMessageOrBuilder();
11435 } else {
11436 return adaptiveLinesearchParameters_ == null ?
11438 }
11439 }
11443 private com.google.protobuf.SingleFieldBuilderV3<
11445 getAdaptiveLinesearchParametersFieldBuilder() {
11446 if (adaptiveLinesearchParametersBuilder_ == null) {
11447 adaptiveLinesearchParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
11450 getParentForChildren(),
11451 isClean());
11452 adaptiveLinesearchParameters_ = null;
11453 }
11454 return adaptiveLinesearchParametersBuilder_;
11455 }
11456
11457 private operations_research.pdlp.Solvers.MalitskyPockParams malitskyPockParameters_;
11458 private com.google.protobuf.SingleFieldBuilderV3<
11464 public boolean hasMalitskyPockParameters() {
11465 return ((bitField0_ & 0x00040000) != 0);
11466 }
11472 if (malitskyPockParametersBuilder_ == null) {
11473 return malitskyPockParameters_ == null ? operations_research.pdlp.Solvers.MalitskyPockParams.getDefaultInstance() : malitskyPockParameters_;
11474 } else {
11475 return malitskyPockParametersBuilder_.getMessage();
11476 }
11477 }
11482 if (malitskyPockParametersBuilder_ == null) {
11483 if (value == null) {
11484 throw new NullPointerException();
11485 }
11486 malitskyPockParameters_ = value;
11487 } else {
11488 malitskyPockParametersBuilder_.setMessage(value);
11489 }
11490 bitField0_ |= 0x00040000;
11491 onChanged();
11492 return this;
11493 }
11499 if (malitskyPockParametersBuilder_ == null) {
11500 malitskyPockParameters_ = builderForValue.build();
11501 } else {
11502 malitskyPockParametersBuilder_.setMessage(builderForValue.build());
11503 }
11504 bitField0_ |= 0x00040000;
11505 onChanged();
11506 return this;
11507 }
11512 if (malitskyPockParametersBuilder_ == null) {
11513 if (((bitField0_ & 0x00040000) != 0) &&
11514 malitskyPockParameters_ != null &&
11516 getMalitskyPockParametersBuilder().mergeFrom(value);
11517 } else {
11518 malitskyPockParameters_ = value;
11519 }
11520 } else {
11521 malitskyPockParametersBuilder_.mergeFrom(value);
11522 }
11523 if (malitskyPockParameters_ != null) {
11524 bitField0_ |= 0x00040000;
11525 onChanged();
11526 }
11527 return this;
11528 }
11533 bitField0_ = (bitField0_ & ~0x00040000);
11534 malitskyPockParameters_ = null;
11535 if (malitskyPockParametersBuilder_ != null) {
11536 malitskyPockParametersBuilder_.dispose();
11537 malitskyPockParametersBuilder_ = null;
11538 }
11539 onChanged();
11540 return this;
11541 }
11546 bitField0_ |= 0x00040000;
11547 onChanged();
11548 return getMalitskyPockParametersFieldBuilder().getBuilder();
11549 }
11554 if (malitskyPockParametersBuilder_ != null) {
11555 return malitskyPockParametersBuilder_.getMessageOrBuilder();
11556 } else {
11557 return malitskyPockParameters_ == null ?
11559 }
11560 }
11564 private com.google.protobuf.SingleFieldBuilderV3<
11566 getMalitskyPockParametersFieldBuilder() {
11567 if (malitskyPockParametersBuilder_ == null) {
11568 malitskyPockParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
11571 getParentForChildren(),
11572 isClean());
11573 malitskyPockParameters_ = null;
11574 }
11575 return malitskyPockParametersBuilder_;
11576 }
11577
11578 private double initialStepSizeScaling_ = 1D;
11588 @java.lang.Override
11589 public boolean hasInitialStepSizeScaling() {
11590 return ((bitField0_ & 0x00080000) != 0);
11591 }
11601 @java.lang.Override
11603 return initialStepSizeScaling_;
11604 }
11615 public Builder setInitialStepSizeScaling(double value) {
11616
11617 initialStepSizeScaling_ = value;
11618 bitField0_ |= 0x00080000;
11619 onChanged();
11620 return this;
11621 }
11632 bitField0_ = (bitField0_ & ~0x00080000);
11633 initialStepSizeScaling_ = 1D;
11634 onChanged();
11635 return this;
11636 }
11637
11638 private com.google.protobuf.Internal.IntList randomProjectionSeeds_ = emptyIntList();
11639 private void ensureRandomProjectionSeedsIsMutable() {
11640 if (!randomProjectionSeeds_.isModifiable()) {
11641 randomProjectionSeeds_ = makeMutableCopy(randomProjectionSeeds_);
11642 }
11643 bitField0_ |= 0x00100000;
11644 }
11658 public java.util.List<java.lang.Integer>
11660 randomProjectionSeeds_.makeImmutable();
11661 return randomProjectionSeeds_;
11662 }
11677 return randomProjectionSeeds_.size();
11678 }
11693 public int getRandomProjectionSeeds(int index) {
11694 return randomProjectionSeeds_.getInt(index);
11695 }
11712 int index, int value) {
11713
11714 ensureRandomProjectionSeedsIsMutable();
11715 randomProjectionSeeds_.setInt(index, value);
11716 bitField0_ |= 0x00100000;
11717 onChanged();
11718 return this;
11719 }
11735
11736 ensureRandomProjectionSeedsIsMutable();
11737 randomProjectionSeeds_.addInt(value);
11738 bitField0_ |= 0x00100000;
11739 onChanged();
11740 return this;
11741 }
11757 java.lang.Iterable<? extends java.lang.Integer> values) {
11758 ensureRandomProjectionSeedsIsMutable();
11759 com.google.protobuf.AbstractMessageLite.Builder.addAll(
11760 values, randomProjectionSeeds_);
11761 bitField0_ |= 0x00100000;
11762 onChanged();
11763 return this;
11764 }
11779 randomProjectionSeeds_ = emptyIntList();
11780 bitField0_ = (bitField0_ & ~0x00100000);
11781 onChanged();
11782 return this;
11783 }
11784
11785 private double infiniteConstraintBoundThreshold_ = Double.POSITIVE_INFINITY;
11799 @java.lang.Override
11801 return ((bitField0_ & 0x00200000) != 0);
11802 }
11816 @java.lang.Override
11818 return infiniteConstraintBoundThreshold_;
11819 }
11835
11836 infiniteConstraintBoundThreshold_ = value;
11837 bitField0_ |= 0x00200000;
11838 onChanged();
11839 return this;
11840 }
11855 bitField0_ = (bitField0_ & ~0x00200000);
11856 infiniteConstraintBoundThreshold_ = Double.POSITIVE_INFINITY;
11857 onChanged();
11858 return this;
11859 }
11860
11861 private boolean handleSomePrimalGradientsOnFiniteBoundsAsResiduals_ = true;
11872 @java.lang.Override
11874 return ((bitField0_ & 0x00400000) != 0);
11875 }
11886 @java.lang.Override
11888 return handleSomePrimalGradientsOnFiniteBoundsAsResiduals_;
11889 }
11902
11903 handleSomePrimalGradientsOnFiniteBoundsAsResiduals_ = value;
11904 bitField0_ |= 0x00400000;
11905 onChanged();
11906 return this;
11907 }
11919 bitField0_ = (bitField0_ & ~0x00400000);
11920 handleSomePrimalGradientsOnFiniteBoundsAsResiduals_ = true;
11921 onChanged();
11922 return this;
11923 }
11924
11925 private boolean useDiagonalQpTrustRegionSolver_ ;
11939 @java.lang.Override
11941 return ((bitField0_ & 0x00800000) != 0);
11942 }
11956 @java.lang.Override
11958 return useDiagonalQpTrustRegionSolver_;
11959 }
11975
11976 useDiagonalQpTrustRegionSolver_ = value;
11977 bitField0_ |= 0x00800000;
11978 onChanged();
11979 return this;
11980 }
11995 bitField0_ = (bitField0_ & ~0x00800000);
11996 useDiagonalQpTrustRegionSolver_ = false;
11997 onChanged();
11998 return this;
11999 }
12000
12001 private double diagonalQpTrustRegionSolverTolerance_ = 1e-08D;
12014 @java.lang.Override
12016 return ((bitField0_ & 0x01000000) != 0);
12017 }
12030 @java.lang.Override
12032 return diagonalQpTrustRegionSolverTolerance_;
12033 }
12048
12049 diagonalQpTrustRegionSolverTolerance_ = value;
12050 bitField0_ |= 0x01000000;
12051 onChanged();
12052 return this;
12053 }
12067 bitField0_ = (bitField0_ & ~0x01000000);
12068 diagonalQpTrustRegionSolverTolerance_ = 1e-08D;
12069 onChanged();
12070 return this;
12071 }
12072
12073 private boolean useFeasibilityPolishing_ ;
12107 @java.lang.Override
12109 return ((bitField0_ & 0x02000000) != 0);
12110 }
12144 @java.lang.Override
12146 return useFeasibilityPolishing_;
12147 }
12182 public Builder setUseFeasibilityPolishing(boolean value) {
12183
12184 useFeasibilityPolishing_ = value;
12185 bitField0_ |= 0x02000000;
12186 onChanged();
12187 return this;
12188 }
12223 bitField0_ = (bitField0_ & ~0x02000000);
12224 useFeasibilityPolishing_ = false;
12225 onChanged();
12226 return this;
12227 }
12228 @java.lang.Override
12230 final com.google.protobuf.UnknownFieldSet unknownFields) {
12231 return super.setUnknownFields(unknownFields);
12232 }
12233
12234 @java.lang.Override
12236 final com.google.protobuf.UnknownFieldSet unknownFields) {
12237 return super.mergeUnknownFields(unknownFields);
12238 }
12239
12240
12241 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.PrimalDualHybridGradientParams)
12242 }
12243
12244 // @@protoc_insertion_point(class_scope:operations_research.pdlp.PrimalDualHybridGradientParams)
12245 private static final operations_research.pdlp.Solvers.PrimalDualHybridGradientParams DEFAULT_INSTANCE;
12246 static {
12248 }
12249
12251 return DEFAULT_INSTANCE;
12252 }
12253
12254 @java.lang.Deprecated public static final com.google.protobuf.Parser<PrimalDualHybridGradientParams>
12255 PARSER = new com.google.protobuf.AbstractParser<PrimalDualHybridGradientParams>() {
12256 @java.lang.Override
12257 public PrimalDualHybridGradientParams parsePartialFrom(
12258 com.google.protobuf.CodedInputStream input,
12259 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
12260 throws com.google.protobuf.InvalidProtocolBufferException {
12261 Builder builder = newBuilder();
12262 try {
12263 builder.mergeFrom(input, extensionRegistry);
12264 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
12265 throw e.setUnfinishedMessage(builder.buildPartial());
12266 } catch (com.google.protobuf.UninitializedMessageException e) {
12267 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
12268 } catch (java.io.IOException e) {
12269 throw new com.google.protobuf.InvalidProtocolBufferException(e)
12270 .setUnfinishedMessage(builder.buildPartial());
12271 }
12272 return builder.buildPartial();
12273 }
12274 };
12275
12276 public static com.google.protobuf.Parser<PrimalDualHybridGradientParams> parser() {
12277 return PARSER;
12278 }
12279
12280 @java.lang.Override
12281 public com.google.protobuf.Parser<PrimalDualHybridGradientParams> getParserForType() {
12282 return PARSER;
12283 }
12284
12285 @java.lang.Override
12289
12290 }
12291
12292 private static final com.google.protobuf.Descriptors.Descriptor
12293 internal_static_operations_research_pdlp_TerminationCriteria_descriptor;
12294 private static final
12295 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
12296 internal_static_operations_research_pdlp_TerminationCriteria_fieldAccessorTable;
12297 private static final com.google.protobuf.Descriptors.Descriptor
12298 internal_static_operations_research_pdlp_TerminationCriteria_SimpleOptimalityCriteria_descriptor;
12299 private static final
12300 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
12301 internal_static_operations_research_pdlp_TerminationCriteria_SimpleOptimalityCriteria_fieldAccessorTable;
12302 private static final com.google.protobuf.Descriptors.Descriptor
12303 internal_static_operations_research_pdlp_TerminationCriteria_DetailedOptimalityCriteria_descriptor;
12304 private static final
12305 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
12306 internal_static_operations_research_pdlp_TerminationCriteria_DetailedOptimalityCriteria_fieldAccessorTable;
12307 private static final com.google.protobuf.Descriptors.Descriptor
12308 internal_static_operations_research_pdlp_AdaptiveLinesearchParams_descriptor;
12309 private static final
12310 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
12311 internal_static_operations_research_pdlp_AdaptiveLinesearchParams_fieldAccessorTable;
12312 private static final com.google.protobuf.Descriptors.Descriptor
12313 internal_static_operations_research_pdlp_MalitskyPockParams_descriptor;
12314 private static final
12315 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
12316 internal_static_operations_research_pdlp_MalitskyPockParams_fieldAccessorTable;
12317 private static final com.google.protobuf.Descriptors.Descriptor
12318 internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_descriptor;
12319 private static final
12320 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
12321 internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_fieldAccessorTable;
12322 private static final com.google.protobuf.Descriptors.Descriptor
12323 internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_PresolveOptions_descriptor;
12324 private static final
12325 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
12326 internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_PresolveOptions_fieldAccessorTable;
12327
12328 public static com.google.protobuf.Descriptors.FileDescriptor
12330 return descriptor;
12331 }
12332 private static com.google.protobuf.Descriptors.FileDescriptor
12333 descriptor;
12334 static {
12335 java.lang.String[] descriptorData = {
12336 "\n\032ortools/pdlp/solvers.proto\022\030operations" +
12337 "_research.pdlp\032\035ortools/glop/parameters." +
12338 "proto\"\240\010\n\023TerminationCriteria\022U\n\017optimal" +
12339 "ity_norm\030\001 \001(\0162(.operations_research.pdl" +
12340 "p.OptimalityNorm:\022OPTIMALITY_NORM_L2\022l\n\032" +
12341 "simple_optimality_criteria\030\t \001(\0132F.opera" +
12342 "tions_research.pdlp.TerminationCriteria." +
12343 "SimpleOptimalityCriteriaH\000\022p\n\034detailed_o" +
12344 "ptimality_criteria\030\n \001(\0132H.operations_re" +
12345 "search.pdlp.TerminationCriteria.Detailed" +
12346 "OptimalityCriteriaH\000\022\'\n\024eps_optimal_abso" +
12347 "lute\030\002 \001(\001:\0051e-06B\002\030\001\022\'\n\024eps_optimal_rel" +
12348 "ative\030\003 \001(\001:\0051e-06B\002\030\001\022$\n\025eps_primal_inf" +
12349 "easible\030\004 \001(\001:\0051e-08\022\"\n\023eps_dual_infeasi" +
12350 "ble\030\005 \001(\001:\0051e-08\022\033\n\016time_sec_limit\030\006 \001(\001" +
12351 ":\003inf\022#\n\017iteration_limit\030\007 \001(\005:\n21474836" +
12352 "47\022\"\n\025kkt_matrix_pass_limit\030\010 \001(\001:\003inf\032d" +
12353 "\n\030SimpleOptimalityCriteria\022#\n\024eps_optima" +
12354 "l_absolute\030\001 \001(\001:\0051e-06\022#\n\024eps_optimal_r" +
12355 "elative\030\002 \001(\001:\0051e-06\032\322\002\n\032DetailedOptimal" +
12356 "ityCriteria\0223\n$eps_optimal_primal_residu" +
12357 "al_absolute\030\001 \001(\001:\0051e-06\0223\n$eps_optimal_" +
12358 "primal_residual_relative\030\002 \001(\001:\0051e-06\0221\n" +
12359 "\"eps_optimal_dual_residual_absolute\030\003 \001(" +
12360 "\001:\0051e-06\0221\n\"eps_optimal_dual_residual_re" +
12361 "lative\030\004 \001(\001:\0051e-06\0221\n\"eps_optimal_objec" +
12362 "tive_gap_absolute\030\005 \001(\001:\0051e-06\0221\n\"eps_op" +
12363 "timal_objective_gap_relative\030\006 \001(\001:\0051e-0" +
12364 "6B\025\n\023optimality_criteria\"m\n\030AdaptiveLine" +
12365 "searchParams\022)\n\034step_size_reduction_expo" +
12366 "nent\030\001 \001(\001:\0030.3\022&\n\031step_size_growth_expo" +
12367 "nent\030\002 \001(\001:\0030.6\"\220\001\n\022MalitskyPockParams\022)" +
12368 "\n\034step_size_downscaling_factor\030\001 \001(\001:\0030." +
12369 "7\022+\n\035linesearch_contraction_factor\030\002 \001(\001" +
12370 ":\0040.99\022\"\n\027step_size_interpolation\030\003 \001(\001:" +
12371 "\0011\"\307\016\n\036PrimalDualHybridGradientParams\022K\n" +
12372 "\024termination_criteria\030\001 \001(\0132-.operations" +
12373 "_research.pdlp.TerminationCriteria\022\026\n\013nu" +
12374 "m_threads\030\002 \001(\005:\0011\022\025\n\nnum_shards\030\033 \001(\005:\001" +
12375 "0\022\036\n\026record_iteration_stats\030\003 \001(\010\022\032\n\017ver" +
12376 "bosity_level\030\032 \001(\005:\0010\022\037\n\024log_interval_se" +
12377 "conds\030\037 \001(\001:\0010\022%\n\031major_iteration_freque" +
12378 "ncy\030\004 \001(\005:\00264\022\'\n\033termination_check_frequ" +
12379 "ency\030\005 \001(\005:\00264\022v\n\020restart_strategy\030\006 \001(\016" +
12380 "2H.operations_research.pdlp.PrimalDualHy" +
12381 "bridGradientParams.RestartStrategy:\022ADAP" +
12382 "TIVE_HEURISTIC\022+\n\036primal_weight_update_s" +
12383 "moothing\030\007 \001(\001:\0030.5\022\035\n\025initial_primal_we" +
12384 "ight\030\010 \001(\001\022b\n\020presolve_options\030\020 \001(\0132H.o" +
12385 "perations_research.pdlp.PrimalDualHybrid" +
12386 "GradientParams.PresolveOptions\022 \n\025l_inf_" +
12387 "ruiz_iterations\030\t \001(\005:\0015\022\037\n\021l2_norm_resc" +
12388 "aling\030\n \001(\010:\004true\022-\n sufficient_reductio" +
12389 "n_for_restart\030\013 \001(\001:\0030.1\022,\n\037necessary_re" +
12390 "duction_for_restart\030\021 \001(\001:\0030.9\022z\n\017linese" +
12391 "arch_rule\030\014 \001(\0162G.operations_research.pd" +
12392 "lp.PrimalDualHybridGradientParams.Linese" +
12393 "archRule:\030ADAPTIVE_LINESEARCH_RULE\022Z\n\036ad" +
12394 "aptive_linesearch_parameters\030\022 \001(\01322.ope" +
12395 "rations_research.pdlp.AdaptiveLinesearch" +
12396 "Params\022N\n\030malitsky_pock_parameters\030\023 \001(\013" +
12397 "2,.operations_research.pdlp.MalitskyPock" +
12398 "Params\022$\n\031initial_step_size_scaling\030\031 \001(" +
12399 "\001:\0011\022#\n\027random_projection_seeds\030\034 \003(\005B\002\020" +
12400 "\001\0220\n#infinite_constraint_bound_threshold" +
12401 "\030\026 \001(\001:\003inf\022H\n:handle_some_primal_gradie" +
12402 "nts_on_finite_bounds_as_residuals\030\035 \001(\010:" +
12403 "\004true\0222\n#use_diagonal_qp_trust_region_so" +
12404 "lver\030\027 \001(\010:\005false\0228\n)diagonal_qp_trust_r" +
12405 "egion_solver_tolerance\030\030 \001(\001:\0051e-08\022(\n\031u" +
12406 "se_feasibility_polishing\030\036 \001(\010:\005false\032f\n" +
12407 "\017PresolveOptions\022\020\n\010use_glop\030\001 \001(\010\022A\n\017gl" +
12408 "op_parameters\030\002 \001(\0132(.operations_researc" +
12409 "h.glop.GlopParameters\"\224\001\n\017RestartStrateg" +
12410 "y\022 \n\034RESTART_STRATEGY_UNSPECIFIED\020\000\022\017\n\013N" +
12411 "O_RESTARTS\020\001\022\031\n\025EVERY_MAJOR_ITERATION\020\002\022" +
12412 "\026\n\022ADAPTIVE_HEURISTIC\020\003\022\033\n\027ADAPTIVE_DIST" +
12413 "ANCE_BASED\020\004\"\217\001\n\016LinesearchRule\022\037\n\033LINES" +
12414 "EARCH_RULE_UNSPECIFIED\020\000\022\034\n\030ADAPTIVE_LIN" +
12415 "ESEARCH_RULE\020\001\022!\n\035MALITSKY_POCK_LINESEAR" +
12416 "CH_RULE\020\002\022\033\n\027CONSTANT_STEP_SIZE_RULE\020\003J\004" +
12417 "\010\r\020\016J\004\010\016\020\017J\004\010\017\020\020J\004\010\024\020\025J\004\010\025\020\026*\215\001\n\016Optimal" +
12418 "ityNorm\022\037\n\033OPTIMALITY_NORM_UNSPECIFIED\020\000" +
12419 "\022\031\n\025OPTIMALITY_NORM_L_INF\020\001\022\026\n\022OPTIMALIT" +
12420 "Y_NORM_L2\020\002\022\'\n#OPTIMALITY_NORM_L_INF_COM" +
12421 "PONENTWISE\020\003"
12422 };
12423 descriptor = com.google.protobuf.Descriptors.FileDescriptor
12424 .internalBuildGeneratedFileFrom(descriptorData,
12425 new com.google.protobuf.Descriptors.FileDescriptor[] {
12426 com.google.ortools.glop.Parameters.getDescriptor(),
12427 });
12428 internal_static_operations_research_pdlp_TerminationCriteria_descriptor =
12429 getDescriptor().getMessageTypes().get(0);
12430 internal_static_operations_research_pdlp_TerminationCriteria_fieldAccessorTable = new
12431 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
12432 internal_static_operations_research_pdlp_TerminationCriteria_descriptor,
12433 new java.lang.String[] { "OptimalityNorm", "SimpleOptimalityCriteria", "DetailedOptimalityCriteria", "EpsOptimalAbsolute", "EpsOptimalRelative", "EpsPrimalInfeasible", "EpsDualInfeasible", "TimeSecLimit", "IterationLimit", "KktMatrixPassLimit", "OptimalityCriteria", });
12434 internal_static_operations_research_pdlp_TerminationCriteria_SimpleOptimalityCriteria_descriptor =
12435 internal_static_operations_research_pdlp_TerminationCriteria_descriptor.getNestedTypes().get(0);
12436 internal_static_operations_research_pdlp_TerminationCriteria_SimpleOptimalityCriteria_fieldAccessorTable = new
12437 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
12438 internal_static_operations_research_pdlp_TerminationCriteria_SimpleOptimalityCriteria_descriptor,
12439 new java.lang.String[] { "EpsOptimalAbsolute", "EpsOptimalRelative", });
12440 internal_static_operations_research_pdlp_TerminationCriteria_DetailedOptimalityCriteria_descriptor =
12441 internal_static_operations_research_pdlp_TerminationCriteria_descriptor.getNestedTypes().get(1);
12442 internal_static_operations_research_pdlp_TerminationCriteria_DetailedOptimalityCriteria_fieldAccessorTable = new
12443 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
12444 internal_static_operations_research_pdlp_TerminationCriteria_DetailedOptimalityCriteria_descriptor,
12445 new java.lang.String[] { "EpsOptimalPrimalResidualAbsolute", "EpsOptimalPrimalResidualRelative", "EpsOptimalDualResidualAbsolute", "EpsOptimalDualResidualRelative", "EpsOptimalObjectiveGapAbsolute", "EpsOptimalObjectiveGapRelative", });
12446 internal_static_operations_research_pdlp_AdaptiveLinesearchParams_descriptor =
12447 getDescriptor().getMessageTypes().get(1);
12448 internal_static_operations_research_pdlp_AdaptiveLinesearchParams_fieldAccessorTable = new
12449 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
12450 internal_static_operations_research_pdlp_AdaptiveLinesearchParams_descriptor,
12451 new java.lang.String[] { "StepSizeReductionExponent", "StepSizeGrowthExponent", });
12452 internal_static_operations_research_pdlp_MalitskyPockParams_descriptor =
12453 getDescriptor().getMessageTypes().get(2);
12454 internal_static_operations_research_pdlp_MalitskyPockParams_fieldAccessorTable = new
12455 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
12456 internal_static_operations_research_pdlp_MalitskyPockParams_descriptor,
12457 new java.lang.String[] { "StepSizeDownscalingFactor", "LinesearchContractionFactor", "StepSizeInterpolation", });
12458 internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_descriptor =
12459 getDescriptor().getMessageTypes().get(3);
12460 internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_fieldAccessorTable = new
12461 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
12462 internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_descriptor,
12463 new java.lang.String[] { "TerminationCriteria", "NumThreads", "NumShards", "RecordIterationStats", "VerbosityLevel", "LogIntervalSeconds", "MajorIterationFrequency", "TerminationCheckFrequency", "RestartStrategy", "PrimalWeightUpdateSmoothing", "InitialPrimalWeight", "PresolveOptions", "LInfRuizIterations", "L2NormRescaling", "SufficientReductionForRestart", "NecessaryReductionForRestart", "LinesearchRule", "AdaptiveLinesearchParameters", "MalitskyPockParameters", "InitialStepSizeScaling", "RandomProjectionSeeds", "InfiniteConstraintBoundThreshold", "HandleSomePrimalGradientsOnFiniteBoundsAsResiduals", "UseDiagonalQpTrustRegionSolver", "DiagonalQpTrustRegionSolverTolerance", "UseFeasibilityPolishing", });
12464 internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_PresolveOptions_descriptor =
12465 internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_descriptor.getNestedTypes().get(0);
12466 internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_PresolveOptions_fieldAccessorTable = new
12467 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
12468 internal_static_operations_research_pdlp_PrimalDualHybridGradientParams_PresolveOptions_descriptor,
12469 new java.lang.String[] { "UseGlop", "GlopParameters", });
12470 com.google.ortools.glop.Parameters.getDescriptor();
12471 }
12472
12473 // @@protoc_insertion_point(outer_class_scope)
12474}
Builder mergeFrom(com.google.protobuf.Message other)
Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
Builder mergeFrom(operations_research.pdlp.Solvers.AdaptiveLinesearchParams other)
Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
operations_research.pdlp.Solvers.AdaptiveLinesearchParams getDefaultInstanceForType()
Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
operations_research.pdlp.Solvers.AdaptiveLinesearchParams buildPartial()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
operations_research.pdlp.Solvers.AdaptiveLinesearchParams build()
Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams parseFrom(com.google.protobuf.CodedInputStream input)
operations_research.pdlp.Solvers.AdaptiveLinesearchParams getDefaultInstanceForType()
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams parseDelimitedFrom(java.io.InputStream input)
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams parseFrom(com.google.protobuf.ByteString data)
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams parseFrom(java.nio.ByteBuffer data)
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser< AdaptiveLinesearchParams > parser()
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
void writeTo(com.google.protobuf.CodedOutputStream output)
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams getDefaultInstance()
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
java.lang.Object newInstance(UnusedPrivateParameter unused)
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams parseFrom(byte[] data)
com.google.protobuf.Parser< AdaptiveLinesearchParams > getParserForType()
static operations_research.pdlp.Solvers.AdaptiveLinesearchParams parseFrom(java.io.InputStream input)
static final com.google.protobuf.Parser< AdaptiveLinesearchParams > PARSER
static Builder newBuilder(operations_research.pdlp.Solvers.AdaptiveLinesearchParams prototype)
Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
operations_research.pdlp.Solvers.MalitskyPockParams build()
Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Builder mergeFrom(operations_research.pdlp.Solvers.MalitskyPockParams other)
operations_research.pdlp.Solvers.MalitskyPockParams getDefaultInstanceForType()
Builder mergeFrom(com.google.protobuf.Message other)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.pdlp.Solvers.MalitskyPockParams buildPartial()
final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
static operations_research.pdlp.Solvers.MalitskyPockParams parseFrom(com.google.protobuf.CodedInputStream input)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
static operations_research.pdlp.Solvers.MalitskyPockParams parseDelimitedFrom(java.io.InputStream input)
static operations_research.pdlp.Solvers.MalitskyPockParams getDefaultInstance()
void writeTo(com.google.protobuf.CodedOutputStream output)
static operations_research.pdlp.Solvers.MalitskyPockParams parseFrom(java.io.InputStream input)
static operations_research.pdlp.Solvers.MalitskyPockParams parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.pdlp.Solvers.MalitskyPockParams getDefaultInstanceForType()
static final com.google.protobuf.Parser< MalitskyPockParams > PARSER
static com.google.protobuf.Parser< MalitskyPockParams > parser()
java.lang.Object newInstance(UnusedPrivateParameter unused)
static operations_research.pdlp.Solvers.MalitskyPockParams parseFrom(java.nio.ByteBuffer data)
static operations_research.pdlp.Solvers.MalitskyPockParams parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.MalitskyPockParams parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.MalitskyPockParams parseFrom(byte[] data)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static operations_research.pdlp.Solvers.MalitskyPockParams parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Builder newBuilder(operations_research.pdlp.Solvers.MalitskyPockParams prototype)
static operations_research.pdlp.Solvers.MalitskyPockParams parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.MalitskyPockParams parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static operations_research.pdlp.Solvers.MalitskyPockParams parseFrom(com.google.protobuf.ByteString data)
com.google.protobuf.Parser< MalitskyPockParams > getParserForType()
boolean equals(final java.lang.Object obj)
operations_research.pdlp.Solvers.AdaptiveLinesearchParams.Builder getAdaptiveLinesearchParametersBuilder()
Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Builder setPresolveOptions(operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions value)
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
operations_research.pdlp.Solvers.MalitskyPockParams.Builder getMalitskyPockParametersBuilder()
operations_research.pdlp.Solvers.AdaptiveLinesearchParams getAdaptiveLinesearchParameters()
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams getDefaultInstanceForType()
Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Builder setTerminationCriteria(operations_research.pdlp.Solvers.TerminationCriteria value)
operations_research.pdlp.Solvers.TerminationCriteriaOrBuilder getTerminationCriteriaOrBuilder()
Builder addAllRandomProjectionSeeds(java.lang.Iterable<? extends java.lang.Integer > values)
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.LinesearchRule getLinesearchRule()
operations_research.pdlp.Solvers.AdaptiveLinesearchParamsOrBuilder getAdaptiveLinesearchParametersOrBuilder()
Builder setPresolveOptions(operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions.Builder builderForValue)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder mergeMalitskyPockParameters(operations_research.pdlp.Solvers.MalitskyPockParams value)
Builder mergeTerminationCriteria(operations_research.pdlp.Solvers.TerminationCriteria value)
Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Builder setAdaptiveLinesearchParameters(operations_research.pdlp.Solvers.AdaptiveLinesearchParams.Builder builderForValue)
Builder mergeAdaptiveLinesearchParameters(operations_research.pdlp.Solvers.AdaptiveLinesearchParams value)
Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Builder setRestartStrategy(operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.RestartStrategy value)
Builder setAdaptiveLinesearchParameters(operations_research.pdlp.Solvers.AdaptiveLinesearchParams value)
operations_research.pdlp.Solvers.MalitskyPockParams getMalitskyPockParameters()
final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
operations_research.pdlp.Solvers.MalitskyPockParamsOrBuilder getMalitskyPockParametersOrBuilder()
Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.RestartStrategy getRestartStrategy()
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams build()
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions.Builder getPresolveOptionsBuilder()
Builder setMalitskyPockParameters(operations_research.pdlp.Solvers.MalitskyPockParams value)
Builder mergePresolveOptions(operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions value)
Builder setMalitskyPockParameters(operations_research.pdlp.Solvers.MalitskyPockParams.Builder builderForValue)
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams buildPartial()
operations_research.pdlp.Solvers.TerminationCriteria getTerminationCriteria()
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptionsOrBuilder getPresolveOptionsOrBuilder()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder setLinesearchRule(operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.LinesearchRule value)
Builder mergeFrom(operations_research.pdlp.Solvers.PrimalDualHybridGradientParams other)
Builder setTerminationCriteria(operations_research.pdlp.Solvers.TerminationCriteria.Builder builderForValue)
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions getPresolveOptions()
operations_research.pdlp.Solvers.TerminationCriteria.Builder getTerminationCriteriaBuilder()
Builder setGlopParameters(com.google.ortools.glop.GlopParameters.Builder builderForValue)
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions buildPartial()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions build()
Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Builder mergeGlopParameters(com.google.ortools.glop.GlopParameters value)
final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
Builder mergeFrom(operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions other)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder setGlopParameters(com.google.ortools.glop.GlopParameters value)
Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions getDefaultInstanceForType()
Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions getDefaultInstanceForType()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions parseFrom(java.nio.ByteBuffer data)
Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions parseFrom(byte[] data)
static final com.google.protobuf.Parser< PresolveOptions > PARSER
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions getDefaultInstance()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser< PresolveOptions > parser()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions parseFrom(java.io.InputStream input)
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions parseDelimitedFrom(java.io.InputStream input)
static Builder newBuilder(operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions prototype)
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions parseFrom(com.google.protobuf.CodedInputStream input)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions parseFrom(com.google.protobuf.ByteString data)
com.google.ortools.glop.GlopParametersOrBuilder getGlopParametersOrBuilder()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams parseFrom(java.nio.ByteBuffer data)
void writeTo(com.google.protobuf.CodedOutputStream output)
operations_research.pdlp.Solvers.TerminationCriteriaOrBuilder getTerminationCriteriaOrBuilder()
operations_research.pdlp.Solvers.AdaptiveLinesearchParams getAdaptiveLinesearchParameters()
operations_research.pdlp.Solvers.MalitskyPockParamsOrBuilder getMalitskyPockParametersOrBuilder()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams parseFrom(com.google.protobuf.CodedInputStream input)
operations_research.pdlp.Solvers.TerminationCriteria getTerminationCriteria()
Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.RestartStrategy getRestartStrategy()
operations_research.pdlp.Solvers.AdaptiveLinesearchParamsOrBuilder getAdaptiveLinesearchParametersOrBuilder()
java.lang.Object newInstance(UnusedPrivateParameter unused)
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams parseFrom(java.io.InputStream input)
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams parseDelimitedFrom(java.io.InputStream input)
static Builder newBuilder(operations_research.pdlp.Solvers.PrimalDualHybridGradientParams prototype)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams parseFrom(com.google.protobuf.ByteString data)
static com.google.protobuf.Parser< PrimalDualHybridGradientParams > parser()
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams getDefaultInstanceForType()
com.google.protobuf.Parser< PrimalDualHybridGradientParams > getParserForType()
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions getPresolveOptions()
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static final com.google.protobuf.Parser< PrimalDualHybridGradientParams > PARSER
java.util.List< java.lang.Integer > getRandomProjectionSeedsList()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams getDefaultInstance()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams parseFrom(byte[] data)
operations_research.pdlp.Solvers.MalitskyPockParams getMalitskyPockParameters()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptionsOrBuilder getPresolveOptionsOrBuilder()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.LinesearchRule getLinesearchRule()
static operations_research.pdlp.Solvers.PrimalDualHybridGradientParams parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder setSimpleOptimalityCriteria(operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria value)
operations_research.pdlp.Solvers.TerminationCriteria buildPartial()
operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria.Builder getDetailedOptimalityCriteriaBuilder()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
operations_research.pdlp.Solvers.OptimalityNorm getOptimalityNorm()
Builder setDetailedOptimalityCriteria(operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria.Builder builderForValue)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria.Builder getSimpleOptimalityCriteriaBuilder()
operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria getDetailedOptimalityCriteria()
Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria getSimpleOptimalityCriteria()
Builder mergeDetailedOptimalityCriteria(operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria value)
Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Builder setSimpleOptimalityCriteria(operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria.Builder builderForValue)
Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Builder mergeFrom(operations_research.pdlp.Solvers.TerminationCriteria other)
Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
operations_research.pdlp.Solvers.TerminationCriteria build()
Builder mergeSimpleOptimalityCriteria(operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria value)
Builder setOptimalityNorm(operations_research.pdlp.Solvers.OptimalityNorm value)
final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteriaOrBuilder getSimpleOptimalityCriteriaOrBuilder()
Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Builder setDetailedOptimalityCriteria(operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria value)
Builder mergeFrom(com.google.protobuf.Message other)
final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
operations_research.pdlp.Solvers.TerminationCriteria getDefaultInstanceForType()
operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteriaOrBuilder getDetailedOptimalityCriteriaOrBuilder()
operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria buildPartial()
Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria getDefaultInstanceForType()
Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria build()
Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Builder mergeFrom(operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria other)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria parseFrom(byte[] data)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria parseFrom(java.nio.ByteBuffer data)
operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria getDefaultInstanceForType()
static Builder newBuilder(operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria prototype)
static final com.google.protobuf.Parser< DetailedOptimalityCriteria > PARSER
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser< DetailedOptimalityCriteria > parser()
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria parseFrom(com.google.protobuf.ByteString data)
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria parseFrom(com.google.protobuf.CodedInputStream input)
com.google.protobuf.Parser< DetailedOptimalityCriteria > getParserForType()
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria parseDelimitedFrom(java.io.InputStream input)
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria getDefaultInstance()
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria parseFrom(java.io.InputStream input)
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Solvers.java:802
operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria getDefaultInstanceForType()
Definition Solvers.java:840
Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Definition Solvers.java:891
Builder mergeFrom(operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria other)
Definition Solvers.java:917
final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Definition Solvers.java:880
Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Definition Solvers.java:886
operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria buildPartial()
Definition Solvers.java:854
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Solvers.java:936
final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria build()
Definition Solvers.java:845
Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Definition Solvers.java:896
Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Definition Solvers.java:902
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Definition Solvers.java:808
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria getDefaultInstance()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Solvers.java:541
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Definition Solvers.java:547
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria parseFrom(java.io.InputStream input)
Definition Solvers.java:734
void writeTo(com.google.protobuf.CodedOutputStream output)
Definition Solvers.java:624
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Solvers.java:707
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Solvers.java:766
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Solvers.java:728
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria parseFrom(com.google.protobuf.ByteString data)
Definition Solvers.java:713
operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria getDefaultInstanceForType()
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Solvers.java:739
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Solvers.java:718
static Builder newBuilder(operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria prototype)
Definition Solvers.java:779
static com.google.protobuf.Parser< SimpleOptimalityCriteria > parser()
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria parseDelimitedFrom(java.io.InputStream input)
Definition Solvers.java:747
Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
Definition Solvers.java:789
java.lang.Object newInstance(UnusedPrivateParameter unused)
Definition Solvers.java:535
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Solvers.java:753
static final com.google.protobuf.Parser< SimpleOptimalityCriteria > PARSER
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria parseFrom(java.nio.ByteBuffer data)
Definition Solvers.java:702
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria parseFrom(com.google.protobuf.CodedInputStream input)
Definition Solvers.java:760
static operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria parseFrom(byte[] data)
Definition Solvers.java:724
com.google.protobuf.Parser< SimpleOptimalityCriteria > getParserForType()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Solvers.java:458
java.lang.Object newInstance(UnusedPrivateParameter unused)
Definition Solvers.java:452
operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteriaOrBuilder getDetailedOptimalityCriteriaOrBuilder()
operations_research.pdlp.Solvers.TerminationCriteria getDefaultInstanceForType()
static operations_research.pdlp.Solvers.TerminationCriteria parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.TerminationCriteria parseFrom(byte[] data)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Definition Solvers.java:464
com.google.protobuf.Parser< TerminationCriteria > getParserForType()
operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteriaOrBuilder getSimpleOptimalityCriteriaOrBuilder()
static operations_research.pdlp.Solvers.TerminationCriteria parseDelimitedFrom(java.io.InputStream input)
static com.google.protobuf.Parser< TerminationCriteria > parser()
static operations_research.pdlp.Solvers.TerminationCriteria parseFrom(com.google.protobuf.CodedInputStream input)
static final com.google.protobuf.Parser< TerminationCriteria > PARSER
static operations_research.pdlp.Solvers.TerminationCriteria parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.pdlp.Solvers.OptimalityNorm getOptimalityNorm()
static operations_research.pdlp.Solvers.TerminationCriteria parseFrom(com.google.protobuf.ByteString data)
static operations_research.pdlp.Solvers.TerminationCriteria parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
void writeTo(com.google.protobuf.CodedOutputStream output)
static operations_research.pdlp.Solvers.TerminationCriteria parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.TerminationCriteria parseFrom(java.nio.ByteBuffer data)
static operations_research.pdlp.Solvers.TerminationCriteria parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria getDetailedOptimalityCriteria()
operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria getSimpleOptimalityCriteria()
static Builder newBuilder(operations_research.pdlp.Solvers.TerminationCriteria prototype)
static operations_research.pdlp.Solvers.TerminationCriteria getDefaultInstance()
boolean equals(final java.lang.Object obj)
static operations_research.pdlp.Solvers.TerminationCriteria parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.pdlp.Solvers.TerminationCriteria parseFrom(java.io.InputStream input)
static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
Definition Solvers.java:13
static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
Definition Solvers.java:9
static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()
static OptimalityNorm forNumber(int value)
Definition Solvers.java:121
static OptimalityNorm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Definition Solvers.java:158
static OptimalityNorm valueOf(int value)
Definition Solvers.java:113
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
Definition Solvers.java:148
static com.google.protobuf.Internal.EnumLiteMap< OptimalityNorm > internalGetValueMap()
Definition Solvers.java:132
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
Definition Solvers.java:144
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
Definition Solvers.java:152
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
static LinesearchRule valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
static com.google.protobuf.Internal.EnumLiteMap< LinesearchRule > internalGetValueMap()
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
static com.google.protobuf.Internal.EnumLiteMap< RestartStrategy > internalGetValueMap()
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
static RestartStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptionsOrBuilder getPresolveOptionsOrBuilder()
operations_research.pdlp.Solvers.AdaptiveLinesearchParamsOrBuilder getAdaptiveLinesearchParametersOrBuilder()
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.PresolveOptions getPresolveOptions()
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.LinesearchRule getLinesearchRule()
operations_research.pdlp.Solvers.MalitskyPockParams getMalitskyPockParameters()
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.RestartStrategy getRestartStrategy()
operations_research.pdlp.Solvers.TerminationCriteriaOrBuilder getTerminationCriteriaOrBuilder()
operations_research.pdlp.Solvers.TerminationCriteria getTerminationCriteria()
operations_research.pdlp.Solvers.AdaptiveLinesearchParams getAdaptiveLinesearchParameters()
operations_research.pdlp.Solvers.MalitskyPockParamsOrBuilder getMalitskyPockParametersOrBuilder()
operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteriaOrBuilder getSimpleOptimalityCriteriaOrBuilder()
operations_research.pdlp.Solvers.OptimalityNorm getOptimalityNorm()
operations_research.pdlp.Solvers.TerminationCriteria.SimpleOptimalityCriteria getSimpleOptimalityCriteria()
operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteriaOrBuilder getDetailedOptimalityCriteriaOrBuilder()
operations_research.pdlp.Solvers.TerminationCriteria.OptimalityCriteriaCase getOptimalityCriteriaCase()
operations_research.pdlp.Solvers.TerminationCriteria.DetailedOptimalityCriteria getDetailedOptimalityCriteria()
Protobuf Java Version: 3.25.3.
Protobuf Java Version: 3.25.3.