Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
QuadraticProgramStats.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/pdlp/solve_log.proto
3
4// Protobuf Java Version: 4.26.1
5package com.google.ortools.pdlp;
6
14public final class QuadraticProgramStats extends
15 com.google.protobuf.GeneratedMessage implements
16 // @@protoc_insertion_point(message_implements:operations_research.pdlp.QuadraticProgramStats)
18private static final long serialVersionUID = 0L;
19 static {
20 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
21 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
22 /* major= */ 4,
23 /* minor= */ 26,
24 /* patch= */ 1,
25 /* suffix= */ "",
26 QuadraticProgramStats.class.getName());
27 }
28 // Use QuadraticProgramStats.newBuilder() to construct.
29 private QuadraticProgramStats(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
30 super(builder);
31 }
32 private QuadraticProgramStats() {
33 }
34
35 public static final com.google.protobuf.Descriptors.Descriptor
37 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_descriptor;
38 }
39
40 @java.lang.Override
41 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
43 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_fieldAccessorTable
44 .ensureFieldAccessorsInitialized(
45 com.google.ortools.pdlp.QuadraticProgramStats.class, com.google.ortools.pdlp.QuadraticProgramStats.Builder.class);
46 }
47
48 private int bitField0_;
49 public static final int NUM_VARIABLES_FIELD_NUMBER = 1;
50 private long numVariables_ = 0L;
55 @java.lang.Override
56 public boolean hasNumVariables() {
57 return ((bitField0_ & 0x00000001) != 0);
58 }
63 @java.lang.Override
64 public long getNumVariables() {
65 return numVariables_;
66 }
67
68 public static final int NUM_CONSTRAINTS_FIELD_NUMBER = 2;
69 private long numConstraints_ = 0L;
74 @java.lang.Override
75 public boolean hasNumConstraints() {
76 return ((bitField0_ & 0x00000002) != 0);
77 }
82 @java.lang.Override
83 public long getNumConstraints() {
84 return numConstraints_;
85 }
86
88 private double constraintMatrixColMinLInfNorm_ = 0D;
99 @java.lang.Override
101 return ((bitField0_ & 0x00000004) != 0);
102 }
113 @java.lang.Override
115 return constraintMatrixColMinLInfNorm_;
116 }
117
119 private double constraintMatrixRowMinLInfNorm_ = 0D;
124 @java.lang.Override
126 return ((bitField0_ & 0x00000008) != 0);
127 }
132 @java.lang.Override
134 return constraintMatrixRowMinLInfNorm_;
135 }
136
138 private long constraintMatrixNumNonzeros_ = 0L;
147 @java.lang.Override
149 return ((bitField0_ & 0x00000010) != 0);
150 }
159 @java.lang.Override
161 return constraintMatrixNumNonzeros_;
162 }
163
164 public static final int CONSTRAINT_MATRIX_ABS_MAX_FIELD_NUMBER = 6;
165 private double constraintMatrixAbsMax_ = 0D;
179 @java.lang.Override
180 public boolean hasConstraintMatrixAbsMax() {
181 return ((bitField0_ & 0x00000020) != 0);
182 }
196 @java.lang.Override
198 return constraintMatrixAbsMax_;
199 }
200
201 public static final int CONSTRAINT_MATRIX_ABS_MIN_FIELD_NUMBER = 7;
202 private double constraintMatrixAbsMin_ = 0D;
207 @java.lang.Override
208 public boolean hasConstraintMatrixAbsMin() {
209 return ((bitField0_ & 0x00000040) != 0);
210 }
215 @java.lang.Override
217 return constraintMatrixAbsMin_;
218 }
219
220 public static final int CONSTRAINT_MATRIX_ABS_AVG_FIELD_NUMBER = 8;
221 private double constraintMatrixAbsAvg_ = 0D;
226 @java.lang.Override
227 public boolean hasConstraintMatrixAbsAvg() {
228 return ((bitField0_ & 0x00000080) != 0);
229 }
234 @java.lang.Override
236 return constraintMatrixAbsAvg_;
237 }
238
239 public static final int CONSTRAINT_MATRIX_L2_NORM_FIELD_NUMBER = 25;
240 private double constraintMatrixL2Norm_ = 0D;
245 @java.lang.Override
246 public boolean hasConstraintMatrixL2Norm() {
247 return ((bitField0_ & 0x00000100) != 0);
248 }
253 @java.lang.Override
255 return constraintMatrixL2Norm_;
256 }
257
258 public static final int COMBINED_BOUNDS_MAX_FIELD_NUMBER = 9;
259 private double combinedBoundsMax_ = 0D;
274 @java.lang.Override
275 public boolean hasCombinedBoundsMax() {
276 return ((bitField0_ & 0x00000200) != 0);
277 }
292 @java.lang.Override
293 public double getCombinedBoundsMax() {
294 return combinedBoundsMax_;
295 }
296
297 public static final int COMBINED_BOUNDS_MIN_FIELD_NUMBER = 10;
298 private double combinedBoundsMin_ = 0D;
303 @java.lang.Override
304 public boolean hasCombinedBoundsMin() {
305 return ((bitField0_ & 0x00000400) != 0);
306 }
311 @java.lang.Override
312 public double getCombinedBoundsMin() {
313 return combinedBoundsMin_;
314 }
315
316 public static final int COMBINED_BOUNDS_AVG_FIELD_NUMBER = 11;
317 private double combinedBoundsAvg_ = 0D;
322 @java.lang.Override
323 public boolean hasCombinedBoundsAvg() {
324 return ((bitField0_ & 0x00000800) != 0);
325 }
330 @java.lang.Override
331 public double getCombinedBoundsAvg() {
332 return combinedBoundsAvg_;
333 }
334
335 public static final int COMBINED_BOUNDS_L2_NORM_FIELD_NUMBER = 24;
336 private double combinedBoundsL2Norm_ = 0D;
341 @java.lang.Override
342 public boolean hasCombinedBoundsL2Norm() {
343 return ((bitField0_ & 0x00001000) != 0);
344 }
349 @java.lang.Override
350 public double getCombinedBoundsL2Norm() {
351 return combinedBoundsL2Norm_;
352 }
353
354 public static final int COMBINED_VARIABLE_BOUNDS_MAX_FIELD_NUMBER = 28;
355 private double combinedVariableBoundsMax_ = 0D;
368 @java.lang.Override
370 return ((bitField0_ & 0x00002000) != 0);
371 }
384 @java.lang.Override
386 return combinedVariableBoundsMax_;
387 }
388
389 public static final int COMBINED_VARIABLE_BOUNDS_MIN_FIELD_NUMBER = 29;
390 private double combinedVariableBoundsMin_ = 0D;
395 @java.lang.Override
397 return ((bitField0_ & 0x00004000) != 0);
398 }
403 @java.lang.Override
405 return combinedVariableBoundsMin_;
406 }
407
408 public static final int COMBINED_VARIABLE_BOUNDS_AVG_FIELD_NUMBER = 30;
409 private double combinedVariableBoundsAvg_ = 0D;
414 @java.lang.Override
416 return ((bitField0_ & 0x00008000) != 0);
417 }
422 @java.lang.Override
424 return combinedVariableBoundsAvg_;
425 }
426
428 private double combinedVariableBoundsL2Norm_ = 0D;
433 @java.lang.Override
435 return ((bitField0_ & 0x00010000) != 0);
436 }
441 @java.lang.Override
443 return combinedVariableBoundsL2Norm_;
444 }
445
447 private long variableBoundGapsNumFinite_ = 0L;
457 @java.lang.Override
459 return ((bitField0_ & 0x00020000) != 0);
460 }
470 @java.lang.Override
472 return variableBoundGapsNumFinite_;
473 }
474
475 public static final int VARIABLE_BOUND_GAPS_MAX_FIELD_NUMBER = 13;
476 private double variableBoundGapsMax_ = 0D;
488 @java.lang.Override
489 public boolean hasVariableBoundGapsMax() {
490 return ((bitField0_ & 0x00040000) != 0);
491 }
503 @java.lang.Override
504 public double getVariableBoundGapsMax() {
505 return variableBoundGapsMax_;
506 }
507
508 public static final int VARIABLE_BOUND_GAPS_MIN_FIELD_NUMBER = 14;
509 private double variableBoundGapsMin_ = 0D;
514 @java.lang.Override
515 public boolean hasVariableBoundGapsMin() {
516 return ((bitField0_ & 0x00080000) != 0);
517 }
522 @java.lang.Override
523 public double getVariableBoundGapsMin() {
524 return variableBoundGapsMin_;
525 }
526
527 public static final int VARIABLE_BOUND_GAPS_AVG_FIELD_NUMBER = 15;
528 private double variableBoundGapsAvg_ = 0D;
533 @java.lang.Override
534 public boolean hasVariableBoundGapsAvg() {
535 return ((bitField0_ & 0x00100000) != 0);
536 }
541 @java.lang.Override
542 public double getVariableBoundGapsAvg() {
543 return variableBoundGapsAvg_;
544 }
545
546 public static final int VARIABLE_BOUND_GAPS_L2_NORM_FIELD_NUMBER = 26;
547 private double variableBoundGapsL2Norm_ = 0D;
552 @java.lang.Override
553 public boolean hasVariableBoundGapsL2Norm() {
554 return ((bitField0_ & 0x00200000) != 0);
555 }
560 @java.lang.Override
562 return variableBoundGapsL2Norm_;
563 }
564
565 public static final int OBJECTIVE_VECTOR_ABS_MAX_FIELD_NUMBER = 16;
566 private double objectiveVectorAbsMax_ = 0D;
575 @java.lang.Override
576 public boolean hasObjectiveVectorAbsMax() {
577 return ((bitField0_ & 0x00400000) != 0);
578 }
587 @java.lang.Override
588 public double getObjectiveVectorAbsMax() {
589 return objectiveVectorAbsMax_;
590 }
591
592 public static final int OBJECTIVE_VECTOR_ABS_MIN_FIELD_NUMBER = 17;
593 private double objectiveVectorAbsMin_ = 0D;
598 @java.lang.Override
599 public boolean hasObjectiveVectorAbsMin() {
600 return ((bitField0_ & 0x00800000) != 0);
601 }
606 @java.lang.Override
607 public double getObjectiveVectorAbsMin() {
608 return objectiveVectorAbsMin_;
609 }
610
611 public static final int OBJECTIVE_VECTOR_ABS_AVG_FIELD_NUMBER = 18;
612 private double objectiveVectorAbsAvg_ = 0D;
617 @java.lang.Override
618 public boolean hasObjectiveVectorAbsAvg() {
619 return ((bitField0_ & 0x01000000) != 0);
620 }
625 @java.lang.Override
626 public double getObjectiveVectorAbsAvg() {
627 return objectiveVectorAbsAvg_;
628 }
629
630 public static final int OBJECTIVE_VECTOR_L2_NORM_FIELD_NUMBER = 23;
631 private double objectiveVectorL2Norm_ = 0D;
636 @java.lang.Override
637 public boolean hasObjectiveVectorL2Norm() {
638 return ((bitField0_ & 0x02000000) != 0);
639 }
644 @java.lang.Override
645 public double getObjectiveVectorL2Norm() {
646 return objectiveVectorL2Norm_;
647 }
648
649 public static final int OBJECTIVE_MATRIX_NUM_NONZEROS_FIELD_NUMBER = 19;
650 private long objectiveMatrixNumNonzeros_ = 0L;
655 @java.lang.Override
657 return ((bitField0_ & 0x04000000) != 0);
658 }
663 @java.lang.Override
665 return objectiveMatrixNumNonzeros_;
666 }
667
668 public static final int OBJECTIVE_MATRIX_ABS_MAX_FIELD_NUMBER = 20;
669 private double objectiveMatrixAbsMax_ = 0D;
680 @java.lang.Override
681 public boolean hasObjectiveMatrixAbsMax() {
682 return ((bitField0_ & 0x08000000) != 0);
683 }
694 @java.lang.Override
695 public double getObjectiveMatrixAbsMax() {
696 return objectiveMatrixAbsMax_;
697 }
698
699 public static final int OBJECTIVE_MATRIX_ABS_MIN_FIELD_NUMBER = 21;
700 private double objectiveMatrixAbsMin_ = 0D;
705 @java.lang.Override
706 public boolean hasObjectiveMatrixAbsMin() {
707 return ((bitField0_ & 0x10000000) != 0);
708 }
713 @java.lang.Override
714 public double getObjectiveMatrixAbsMin() {
715 return objectiveMatrixAbsMin_;
716 }
717
718 public static final int OBJECTIVE_MATRIX_ABS_AVG_FIELD_NUMBER = 22;
719 private double objectiveMatrixAbsAvg_ = 0D;
724 @java.lang.Override
725 public boolean hasObjectiveMatrixAbsAvg() {
726 return ((bitField0_ & 0x20000000) != 0);
727 }
732 @java.lang.Override
733 public double getObjectiveMatrixAbsAvg() {
734 return objectiveMatrixAbsAvg_;
735 }
736
737 public static final int OBJECTIVE_MATRIX_L2_NORM_FIELD_NUMBER = 27;
738 private double objectiveMatrixL2Norm_ = 0D;
743 @java.lang.Override
744 public boolean hasObjectiveMatrixL2Norm() {
745 return ((bitField0_ & 0x40000000) != 0);
746 }
751 @java.lang.Override
752 public double getObjectiveMatrixL2Norm() {
753 return objectiveMatrixL2Norm_;
754 }
755
756 private byte memoizedIsInitialized = -1;
757 @java.lang.Override
758 public final boolean isInitialized() {
759 byte isInitialized = memoizedIsInitialized;
760 if (isInitialized == 1) return true;
761 if (isInitialized == 0) return false;
762
763 memoizedIsInitialized = 1;
764 return true;
765 }
766
767 @java.lang.Override
768 public void writeTo(com.google.protobuf.CodedOutputStream output)
769 throws java.io.IOException {
770 if (((bitField0_ & 0x00000001) != 0)) {
771 output.writeInt64(1, numVariables_);
772 }
773 if (((bitField0_ & 0x00000002) != 0)) {
774 output.writeInt64(2, numConstraints_);
775 }
776 if (((bitField0_ & 0x00000004) != 0)) {
777 output.writeDouble(3, constraintMatrixColMinLInfNorm_);
778 }
779 if (((bitField0_ & 0x00000008) != 0)) {
780 output.writeDouble(4, constraintMatrixRowMinLInfNorm_);
781 }
782 if (((bitField0_ & 0x00000010) != 0)) {
783 output.writeInt64(5, constraintMatrixNumNonzeros_);
784 }
785 if (((bitField0_ & 0x00000020) != 0)) {
786 output.writeDouble(6, constraintMatrixAbsMax_);
787 }
788 if (((bitField0_ & 0x00000040) != 0)) {
789 output.writeDouble(7, constraintMatrixAbsMin_);
790 }
791 if (((bitField0_ & 0x00000080) != 0)) {
792 output.writeDouble(8, constraintMatrixAbsAvg_);
793 }
794 if (((bitField0_ & 0x00000200) != 0)) {
795 output.writeDouble(9, combinedBoundsMax_);
796 }
797 if (((bitField0_ & 0x00000400) != 0)) {
798 output.writeDouble(10, combinedBoundsMin_);
799 }
800 if (((bitField0_ & 0x00000800) != 0)) {
801 output.writeDouble(11, combinedBoundsAvg_);
802 }
803 if (((bitField0_ & 0x00020000) != 0)) {
804 output.writeInt64(12, variableBoundGapsNumFinite_);
805 }
806 if (((bitField0_ & 0x00040000) != 0)) {
807 output.writeDouble(13, variableBoundGapsMax_);
808 }
809 if (((bitField0_ & 0x00080000) != 0)) {
810 output.writeDouble(14, variableBoundGapsMin_);
811 }
812 if (((bitField0_ & 0x00100000) != 0)) {
813 output.writeDouble(15, variableBoundGapsAvg_);
814 }
815 if (((bitField0_ & 0x00400000) != 0)) {
816 output.writeDouble(16, objectiveVectorAbsMax_);
817 }
818 if (((bitField0_ & 0x00800000) != 0)) {
819 output.writeDouble(17, objectiveVectorAbsMin_);
820 }
821 if (((bitField0_ & 0x01000000) != 0)) {
822 output.writeDouble(18, objectiveVectorAbsAvg_);
823 }
824 if (((bitField0_ & 0x04000000) != 0)) {
825 output.writeInt64(19, objectiveMatrixNumNonzeros_);
826 }
827 if (((bitField0_ & 0x08000000) != 0)) {
828 output.writeDouble(20, objectiveMatrixAbsMax_);
829 }
830 if (((bitField0_ & 0x10000000) != 0)) {
831 output.writeDouble(21, objectiveMatrixAbsMin_);
832 }
833 if (((bitField0_ & 0x20000000) != 0)) {
834 output.writeDouble(22, objectiveMatrixAbsAvg_);
835 }
836 if (((bitField0_ & 0x02000000) != 0)) {
837 output.writeDouble(23, objectiveVectorL2Norm_);
838 }
839 if (((bitField0_ & 0x00001000) != 0)) {
840 output.writeDouble(24, combinedBoundsL2Norm_);
841 }
842 if (((bitField0_ & 0x00000100) != 0)) {
843 output.writeDouble(25, constraintMatrixL2Norm_);
844 }
845 if (((bitField0_ & 0x00200000) != 0)) {
846 output.writeDouble(26, variableBoundGapsL2Norm_);
847 }
848 if (((bitField0_ & 0x40000000) != 0)) {
849 output.writeDouble(27, objectiveMatrixL2Norm_);
850 }
851 if (((bitField0_ & 0x00002000) != 0)) {
852 output.writeDouble(28, combinedVariableBoundsMax_);
853 }
854 if (((bitField0_ & 0x00004000) != 0)) {
855 output.writeDouble(29, combinedVariableBoundsMin_);
856 }
857 if (((bitField0_ & 0x00008000) != 0)) {
858 output.writeDouble(30, combinedVariableBoundsAvg_);
859 }
860 if (((bitField0_ & 0x00010000) != 0)) {
861 output.writeDouble(31, combinedVariableBoundsL2Norm_);
862 }
863 getUnknownFields().writeTo(output);
864 }
865
866 @java.lang.Override
867 public int getSerializedSize() {
868 int size = memoizedSize;
869 if (size != -1) return size;
870
871 size = 0;
872 if (((bitField0_ & 0x00000001) != 0)) {
873 size += com.google.protobuf.CodedOutputStream
874 .computeInt64Size(1, numVariables_);
875 }
876 if (((bitField0_ & 0x00000002) != 0)) {
877 size += com.google.protobuf.CodedOutputStream
878 .computeInt64Size(2, numConstraints_);
879 }
880 if (((bitField0_ & 0x00000004) != 0)) {
881 size += com.google.protobuf.CodedOutputStream
882 .computeDoubleSize(3, constraintMatrixColMinLInfNorm_);
883 }
884 if (((bitField0_ & 0x00000008) != 0)) {
885 size += com.google.protobuf.CodedOutputStream
886 .computeDoubleSize(4, constraintMatrixRowMinLInfNorm_);
887 }
888 if (((bitField0_ & 0x00000010) != 0)) {
889 size += com.google.protobuf.CodedOutputStream
890 .computeInt64Size(5, constraintMatrixNumNonzeros_);
891 }
892 if (((bitField0_ & 0x00000020) != 0)) {
893 size += com.google.protobuf.CodedOutputStream
894 .computeDoubleSize(6, constraintMatrixAbsMax_);
895 }
896 if (((bitField0_ & 0x00000040) != 0)) {
897 size += com.google.protobuf.CodedOutputStream
898 .computeDoubleSize(7, constraintMatrixAbsMin_);
899 }
900 if (((bitField0_ & 0x00000080) != 0)) {
901 size += com.google.protobuf.CodedOutputStream
902 .computeDoubleSize(8, constraintMatrixAbsAvg_);
903 }
904 if (((bitField0_ & 0x00000200) != 0)) {
905 size += com.google.protobuf.CodedOutputStream
906 .computeDoubleSize(9, combinedBoundsMax_);
907 }
908 if (((bitField0_ & 0x00000400) != 0)) {
909 size += com.google.protobuf.CodedOutputStream
910 .computeDoubleSize(10, combinedBoundsMin_);
911 }
912 if (((bitField0_ & 0x00000800) != 0)) {
913 size += com.google.protobuf.CodedOutputStream
914 .computeDoubleSize(11, combinedBoundsAvg_);
915 }
916 if (((bitField0_ & 0x00020000) != 0)) {
917 size += com.google.protobuf.CodedOutputStream
918 .computeInt64Size(12, variableBoundGapsNumFinite_);
919 }
920 if (((bitField0_ & 0x00040000) != 0)) {
921 size += com.google.protobuf.CodedOutputStream
922 .computeDoubleSize(13, variableBoundGapsMax_);
923 }
924 if (((bitField0_ & 0x00080000) != 0)) {
925 size += com.google.protobuf.CodedOutputStream
926 .computeDoubleSize(14, variableBoundGapsMin_);
927 }
928 if (((bitField0_ & 0x00100000) != 0)) {
929 size += com.google.protobuf.CodedOutputStream
930 .computeDoubleSize(15, variableBoundGapsAvg_);
931 }
932 if (((bitField0_ & 0x00400000) != 0)) {
933 size += com.google.protobuf.CodedOutputStream
934 .computeDoubleSize(16, objectiveVectorAbsMax_);
935 }
936 if (((bitField0_ & 0x00800000) != 0)) {
937 size += com.google.protobuf.CodedOutputStream
938 .computeDoubleSize(17, objectiveVectorAbsMin_);
939 }
940 if (((bitField0_ & 0x01000000) != 0)) {
941 size += com.google.protobuf.CodedOutputStream
942 .computeDoubleSize(18, objectiveVectorAbsAvg_);
943 }
944 if (((bitField0_ & 0x04000000) != 0)) {
945 size += com.google.protobuf.CodedOutputStream
946 .computeInt64Size(19, objectiveMatrixNumNonzeros_);
947 }
948 if (((bitField0_ & 0x08000000) != 0)) {
949 size += com.google.protobuf.CodedOutputStream
950 .computeDoubleSize(20, objectiveMatrixAbsMax_);
951 }
952 if (((bitField0_ & 0x10000000) != 0)) {
953 size += com.google.protobuf.CodedOutputStream
954 .computeDoubleSize(21, objectiveMatrixAbsMin_);
955 }
956 if (((bitField0_ & 0x20000000) != 0)) {
957 size += com.google.protobuf.CodedOutputStream
958 .computeDoubleSize(22, objectiveMatrixAbsAvg_);
959 }
960 if (((bitField0_ & 0x02000000) != 0)) {
961 size += com.google.protobuf.CodedOutputStream
962 .computeDoubleSize(23, objectiveVectorL2Norm_);
963 }
964 if (((bitField0_ & 0x00001000) != 0)) {
965 size += com.google.protobuf.CodedOutputStream
966 .computeDoubleSize(24, combinedBoundsL2Norm_);
967 }
968 if (((bitField0_ & 0x00000100) != 0)) {
969 size += com.google.protobuf.CodedOutputStream
970 .computeDoubleSize(25, constraintMatrixL2Norm_);
971 }
972 if (((bitField0_ & 0x00200000) != 0)) {
973 size += com.google.protobuf.CodedOutputStream
974 .computeDoubleSize(26, variableBoundGapsL2Norm_);
975 }
976 if (((bitField0_ & 0x40000000) != 0)) {
977 size += com.google.protobuf.CodedOutputStream
978 .computeDoubleSize(27, objectiveMatrixL2Norm_);
979 }
980 if (((bitField0_ & 0x00002000) != 0)) {
981 size += com.google.protobuf.CodedOutputStream
982 .computeDoubleSize(28, combinedVariableBoundsMax_);
983 }
984 if (((bitField0_ & 0x00004000) != 0)) {
985 size += com.google.protobuf.CodedOutputStream
986 .computeDoubleSize(29, combinedVariableBoundsMin_);
987 }
988 if (((bitField0_ & 0x00008000) != 0)) {
989 size += com.google.protobuf.CodedOutputStream
990 .computeDoubleSize(30, combinedVariableBoundsAvg_);
991 }
992 if (((bitField0_ & 0x00010000) != 0)) {
993 size += com.google.protobuf.CodedOutputStream
994 .computeDoubleSize(31, combinedVariableBoundsL2Norm_);
995 }
996 size += getUnknownFields().getSerializedSize();
997 memoizedSize = size;
998 return size;
999 }
1000
1001 @java.lang.Override
1002 public boolean equals(final java.lang.Object obj) {
1003 if (obj == this) {
1004 return true;
1005 }
1006 if (!(obj instanceof com.google.ortools.pdlp.QuadraticProgramStats)) {
1007 return super.equals(obj);
1008 }
1009 com.google.ortools.pdlp.QuadraticProgramStats other = (com.google.ortools.pdlp.QuadraticProgramStats) obj;
1010
1011 if (hasNumVariables() != other.hasNumVariables()) return false;
1012 if (hasNumVariables()) {
1013 if (getNumVariables()
1014 != other.getNumVariables()) return false;
1015 }
1016 if (hasNumConstraints() != other.hasNumConstraints()) return false;
1017 if (hasNumConstraints()) {
1018 if (getNumConstraints()
1019 != other.getNumConstraints()) return false;
1020 }
1023 if (java.lang.Double.doubleToLongBits(getConstraintMatrixColMinLInfNorm())
1024 != java.lang.Double.doubleToLongBits(
1025 other.getConstraintMatrixColMinLInfNorm())) return false;
1026 }
1029 if (java.lang.Double.doubleToLongBits(getConstraintMatrixRowMinLInfNorm())
1030 != java.lang.Double.doubleToLongBits(
1031 other.getConstraintMatrixRowMinLInfNorm())) return false;
1032 }
1036 != other.getConstraintMatrixNumNonzeros()) return false;
1037 }
1038 if (hasConstraintMatrixAbsMax() != other.hasConstraintMatrixAbsMax()) return false;
1040 if (java.lang.Double.doubleToLongBits(getConstraintMatrixAbsMax())
1041 != java.lang.Double.doubleToLongBits(
1042 other.getConstraintMatrixAbsMax())) return false;
1043 }
1044 if (hasConstraintMatrixAbsMin() != other.hasConstraintMatrixAbsMin()) return false;
1046 if (java.lang.Double.doubleToLongBits(getConstraintMatrixAbsMin())
1047 != java.lang.Double.doubleToLongBits(
1048 other.getConstraintMatrixAbsMin())) return false;
1049 }
1050 if (hasConstraintMatrixAbsAvg() != other.hasConstraintMatrixAbsAvg()) return false;
1052 if (java.lang.Double.doubleToLongBits(getConstraintMatrixAbsAvg())
1053 != java.lang.Double.doubleToLongBits(
1054 other.getConstraintMatrixAbsAvg())) return false;
1055 }
1056 if (hasConstraintMatrixL2Norm() != other.hasConstraintMatrixL2Norm()) return false;
1058 if (java.lang.Double.doubleToLongBits(getConstraintMatrixL2Norm())
1059 != java.lang.Double.doubleToLongBits(
1060 other.getConstraintMatrixL2Norm())) return false;
1061 }
1062 if (hasCombinedBoundsMax() != other.hasCombinedBoundsMax()) return false;
1063 if (hasCombinedBoundsMax()) {
1064 if (java.lang.Double.doubleToLongBits(getCombinedBoundsMax())
1065 != java.lang.Double.doubleToLongBits(
1066 other.getCombinedBoundsMax())) return false;
1067 }
1068 if (hasCombinedBoundsMin() != other.hasCombinedBoundsMin()) return false;
1069 if (hasCombinedBoundsMin()) {
1070 if (java.lang.Double.doubleToLongBits(getCombinedBoundsMin())
1071 != java.lang.Double.doubleToLongBits(
1072 other.getCombinedBoundsMin())) return false;
1073 }
1074 if (hasCombinedBoundsAvg() != other.hasCombinedBoundsAvg()) return false;
1075 if (hasCombinedBoundsAvg()) {
1076 if (java.lang.Double.doubleToLongBits(getCombinedBoundsAvg())
1077 != java.lang.Double.doubleToLongBits(
1078 other.getCombinedBoundsAvg())) return false;
1079 }
1080 if (hasCombinedBoundsL2Norm() != other.hasCombinedBoundsL2Norm()) return false;
1082 if (java.lang.Double.doubleToLongBits(getCombinedBoundsL2Norm())
1083 != java.lang.Double.doubleToLongBits(
1084 other.getCombinedBoundsL2Norm())) return false;
1085 }
1086 if (hasCombinedVariableBoundsMax() != other.hasCombinedVariableBoundsMax()) return false;
1088 if (java.lang.Double.doubleToLongBits(getCombinedVariableBoundsMax())
1089 != java.lang.Double.doubleToLongBits(
1090 other.getCombinedVariableBoundsMax())) return false;
1091 }
1092 if (hasCombinedVariableBoundsMin() != other.hasCombinedVariableBoundsMin()) return false;
1094 if (java.lang.Double.doubleToLongBits(getCombinedVariableBoundsMin())
1095 != java.lang.Double.doubleToLongBits(
1096 other.getCombinedVariableBoundsMin())) return false;
1097 }
1098 if (hasCombinedVariableBoundsAvg() != other.hasCombinedVariableBoundsAvg()) return false;
1100 if (java.lang.Double.doubleToLongBits(getCombinedVariableBoundsAvg())
1101 != java.lang.Double.doubleToLongBits(
1102 other.getCombinedVariableBoundsAvg())) return false;
1103 }
1106 if (java.lang.Double.doubleToLongBits(getCombinedVariableBoundsL2Norm())
1107 != java.lang.Double.doubleToLongBits(
1108 other.getCombinedVariableBoundsL2Norm())) return false;
1109 }
1110 if (hasVariableBoundGapsNumFinite() != other.hasVariableBoundGapsNumFinite()) return false;
1113 != other.getVariableBoundGapsNumFinite()) return false;
1114 }
1115 if (hasVariableBoundGapsMax() != other.hasVariableBoundGapsMax()) return false;
1117 if (java.lang.Double.doubleToLongBits(getVariableBoundGapsMax())
1118 != java.lang.Double.doubleToLongBits(
1119 other.getVariableBoundGapsMax())) return false;
1120 }
1121 if (hasVariableBoundGapsMin() != other.hasVariableBoundGapsMin()) return false;
1123 if (java.lang.Double.doubleToLongBits(getVariableBoundGapsMin())
1124 != java.lang.Double.doubleToLongBits(
1125 other.getVariableBoundGapsMin())) return false;
1126 }
1127 if (hasVariableBoundGapsAvg() != other.hasVariableBoundGapsAvg()) return false;
1129 if (java.lang.Double.doubleToLongBits(getVariableBoundGapsAvg())
1130 != java.lang.Double.doubleToLongBits(
1131 other.getVariableBoundGapsAvg())) return false;
1132 }
1133 if (hasVariableBoundGapsL2Norm() != other.hasVariableBoundGapsL2Norm()) return false;
1135 if (java.lang.Double.doubleToLongBits(getVariableBoundGapsL2Norm())
1136 != java.lang.Double.doubleToLongBits(
1137 other.getVariableBoundGapsL2Norm())) return false;
1138 }
1139 if (hasObjectiveVectorAbsMax() != other.hasObjectiveVectorAbsMax()) return false;
1141 if (java.lang.Double.doubleToLongBits(getObjectiveVectorAbsMax())
1142 != java.lang.Double.doubleToLongBits(
1143 other.getObjectiveVectorAbsMax())) return false;
1144 }
1145 if (hasObjectiveVectorAbsMin() != other.hasObjectiveVectorAbsMin()) return false;
1147 if (java.lang.Double.doubleToLongBits(getObjectiveVectorAbsMin())
1148 != java.lang.Double.doubleToLongBits(
1149 other.getObjectiveVectorAbsMin())) return false;
1150 }
1151 if (hasObjectiveVectorAbsAvg() != other.hasObjectiveVectorAbsAvg()) return false;
1153 if (java.lang.Double.doubleToLongBits(getObjectiveVectorAbsAvg())
1154 != java.lang.Double.doubleToLongBits(
1155 other.getObjectiveVectorAbsAvg())) return false;
1156 }
1157 if (hasObjectiveVectorL2Norm() != other.hasObjectiveVectorL2Norm()) return false;
1159 if (java.lang.Double.doubleToLongBits(getObjectiveVectorL2Norm())
1160 != java.lang.Double.doubleToLongBits(
1161 other.getObjectiveVectorL2Norm())) return false;
1162 }
1163 if (hasObjectiveMatrixNumNonzeros() != other.hasObjectiveMatrixNumNonzeros()) return false;
1166 != other.getObjectiveMatrixNumNonzeros()) return false;
1167 }
1168 if (hasObjectiveMatrixAbsMax() != other.hasObjectiveMatrixAbsMax()) return false;
1170 if (java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsMax())
1171 != java.lang.Double.doubleToLongBits(
1172 other.getObjectiveMatrixAbsMax())) return false;
1173 }
1174 if (hasObjectiveMatrixAbsMin() != other.hasObjectiveMatrixAbsMin()) return false;
1176 if (java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsMin())
1177 != java.lang.Double.doubleToLongBits(
1178 other.getObjectiveMatrixAbsMin())) return false;
1179 }
1180 if (hasObjectiveMatrixAbsAvg() != other.hasObjectiveMatrixAbsAvg()) return false;
1182 if (java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsAvg())
1183 != java.lang.Double.doubleToLongBits(
1184 other.getObjectiveMatrixAbsAvg())) return false;
1185 }
1186 if (hasObjectiveMatrixL2Norm() != other.hasObjectiveMatrixL2Norm()) return false;
1188 if (java.lang.Double.doubleToLongBits(getObjectiveMatrixL2Norm())
1189 != java.lang.Double.doubleToLongBits(
1190 other.getObjectiveMatrixL2Norm())) return false;
1191 }
1192 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1193 return true;
1194 }
1195
1196 @java.lang.Override
1197 public int hashCode() {
1198 if (memoizedHashCode != 0) {
1199 return memoizedHashCode;
1200 }
1201 int hash = 41;
1202 hash = (19 * hash) + getDescriptor().hashCode();
1203 if (hasNumVariables()) {
1204 hash = (37 * hash) + NUM_VARIABLES_FIELD_NUMBER;
1205 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1206 getNumVariables());
1207 }
1208 if (hasNumConstraints()) {
1209 hash = (37 * hash) + NUM_CONSTRAINTS_FIELD_NUMBER;
1210 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1212 }
1215 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1216 java.lang.Double.doubleToLongBits(getConstraintMatrixColMinLInfNorm()));
1217 }
1220 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1221 java.lang.Double.doubleToLongBits(getConstraintMatrixRowMinLInfNorm()));
1222 }
1225 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1227 }
1229 hash = (37 * hash) + CONSTRAINT_MATRIX_ABS_MAX_FIELD_NUMBER;
1230 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1231 java.lang.Double.doubleToLongBits(getConstraintMatrixAbsMax()));
1232 }
1234 hash = (37 * hash) + CONSTRAINT_MATRIX_ABS_MIN_FIELD_NUMBER;
1235 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1236 java.lang.Double.doubleToLongBits(getConstraintMatrixAbsMin()));
1237 }
1239 hash = (37 * hash) + CONSTRAINT_MATRIX_ABS_AVG_FIELD_NUMBER;
1240 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1241 java.lang.Double.doubleToLongBits(getConstraintMatrixAbsAvg()));
1242 }
1244 hash = (37 * hash) + CONSTRAINT_MATRIX_L2_NORM_FIELD_NUMBER;
1245 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1246 java.lang.Double.doubleToLongBits(getConstraintMatrixL2Norm()));
1247 }
1248 if (hasCombinedBoundsMax()) {
1249 hash = (37 * hash) + COMBINED_BOUNDS_MAX_FIELD_NUMBER;
1250 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1251 java.lang.Double.doubleToLongBits(getCombinedBoundsMax()));
1252 }
1253 if (hasCombinedBoundsMin()) {
1254 hash = (37 * hash) + COMBINED_BOUNDS_MIN_FIELD_NUMBER;
1255 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1256 java.lang.Double.doubleToLongBits(getCombinedBoundsMin()));
1257 }
1258 if (hasCombinedBoundsAvg()) {
1259 hash = (37 * hash) + COMBINED_BOUNDS_AVG_FIELD_NUMBER;
1260 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1261 java.lang.Double.doubleToLongBits(getCombinedBoundsAvg()));
1262 }
1264 hash = (37 * hash) + COMBINED_BOUNDS_L2_NORM_FIELD_NUMBER;
1265 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1266 java.lang.Double.doubleToLongBits(getCombinedBoundsL2Norm()));
1267 }
1269 hash = (37 * hash) + COMBINED_VARIABLE_BOUNDS_MAX_FIELD_NUMBER;
1270 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1271 java.lang.Double.doubleToLongBits(getCombinedVariableBoundsMax()));
1272 }
1274 hash = (37 * hash) + COMBINED_VARIABLE_BOUNDS_MIN_FIELD_NUMBER;
1275 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1276 java.lang.Double.doubleToLongBits(getCombinedVariableBoundsMin()));
1277 }
1279 hash = (37 * hash) + COMBINED_VARIABLE_BOUNDS_AVG_FIELD_NUMBER;
1280 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1281 java.lang.Double.doubleToLongBits(getCombinedVariableBoundsAvg()));
1282 }
1285 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1286 java.lang.Double.doubleToLongBits(getCombinedVariableBoundsL2Norm()));
1287 }
1290 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1292 }
1294 hash = (37 * hash) + VARIABLE_BOUND_GAPS_MAX_FIELD_NUMBER;
1295 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1296 java.lang.Double.doubleToLongBits(getVariableBoundGapsMax()));
1297 }
1299 hash = (37 * hash) + VARIABLE_BOUND_GAPS_MIN_FIELD_NUMBER;
1300 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1301 java.lang.Double.doubleToLongBits(getVariableBoundGapsMin()));
1302 }
1304 hash = (37 * hash) + VARIABLE_BOUND_GAPS_AVG_FIELD_NUMBER;
1305 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1306 java.lang.Double.doubleToLongBits(getVariableBoundGapsAvg()));
1307 }
1309 hash = (37 * hash) + VARIABLE_BOUND_GAPS_L2_NORM_FIELD_NUMBER;
1310 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1311 java.lang.Double.doubleToLongBits(getVariableBoundGapsL2Norm()));
1312 }
1314 hash = (37 * hash) + OBJECTIVE_VECTOR_ABS_MAX_FIELD_NUMBER;
1315 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1316 java.lang.Double.doubleToLongBits(getObjectiveVectorAbsMax()));
1317 }
1319 hash = (37 * hash) + OBJECTIVE_VECTOR_ABS_MIN_FIELD_NUMBER;
1320 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1321 java.lang.Double.doubleToLongBits(getObjectiveVectorAbsMin()));
1322 }
1324 hash = (37 * hash) + OBJECTIVE_VECTOR_ABS_AVG_FIELD_NUMBER;
1325 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1326 java.lang.Double.doubleToLongBits(getObjectiveVectorAbsAvg()));
1327 }
1329 hash = (37 * hash) + OBJECTIVE_VECTOR_L2_NORM_FIELD_NUMBER;
1330 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1331 java.lang.Double.doubleToLongBits(getObjectiveVectorL2Norm()));
1332 }
1334 hash = (37 * hash) + OBJECTIVE_MATRIX_NUM_NONZEROS_FIELD_NUMBER;
1335 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1337 }
1339 hash = (37 * hash) + OBJECTIVE_MATRIX_ABS_MAX_FIELD_NUMBER;
1340 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1341 java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsMax()));
1342 }
1344 hash = (37 * hash) + OBJECTIVE_MATRIX_ABS_MIN_FIELD_NUMBER;
1345 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1346 java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsMin()));
1347 }
1349 hash = (37 * hash) + OBJECTIVE_MATRIX_ABS_AVG_FIELD_NUMBER;
1350 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1351 java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsAvg()));
1352 }
1354 hash = (37 * hash) + OBJECTIVE_MATRIX_L2_NORM_FIELD_NUMBER;
1355 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1356 java.lang.Double.doubleToLongBits(getObjectiveMatrixL2Norm()));
1357 }
1358 hash = (29 * hash) + getUnknownFields().hashCode();
1359 memoizedHashCode = hash;
1360 return hash;
1361 }
1362
1364 java.nio.ByteBuffer data)
1365 throws com.google.protobuf.InvalidProtocolBufferException {
1366 return PARSER.parseFrom(data);
1367 }
1369 java.nio.ByteBuffer data,
1370 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1371 throws com.google.protobuf.InvalidProtocolBufferException {
1372 return PARSER.parseFrom(data, extensionRegistry);
1373 }
1375 com.google.protobuf.ByteString data)
1376 throws com.google.protobuf.InvalidProtocolBufferException {
1377 return PARSER.parseFrom(data);
1378 }
1380 com.google.protobuf.ByteString data,
1381 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1382 throws com.google.protobuf.InvalidProtocolBufferException {
1383 return PARSER.parseFrom(data, extensionRegistry);
1384 }
1386 throws com.google.protobuf.InvalidProtocolBufferException {
1387 return PARSER.parseFrom(data);
1388 }
1390 byte[] data,
1391 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1392 throws com.google.protobuf.InvalidProtocolBufferException {
1393 return PARSER.parseFrom(data, extensionRegistry);
1394 }
1395 public static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(java.io.InputStream input)
1396 throws java.io.IOException {
1397 return com.google.protobuf.GeneratedMessage
1398 .parseWithIOException(PARSER, input);
1399 }
1401 java.io.InputStream input,
1402 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1403 throws java.io.IOException {
1404 return com.google.protobuf.GeneratedMessage
1405 .parseWithIOException(PARSER, input, extensionRegistry);
1406 }
1407
1409 throws java.io.IOException {
1410 return com.google.protobuf.GeneratedMessage
1411 .parseDelimitedWithIOException(PARSER, input);
1412 }
1413
1415 java.io.InputStream input,
1416 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1417 throws java.io.IOException {
1418 return com.google.protobuf.GeneratedMessage
1419 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1420 }
1422 com.google.protobuf.CodedInputStream input)
1423 throws java.io.IOException {
1424 return com.google.protobuf.GeneratedMessage
1425 .parseWithIOException(PARSER, input);
1426 }
1428 com.google.protobuf.CodedInputStream input,
1429 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1430 throws java.io.IOException {
1431 return com.google.protobuf.GeneratedMessage
1432 .parseWithIOException(PARSER, input, extensionRegistry);
1433 }
1434
1435 @java.lang.Override
1436 public Builder newBuilderForType() { return newBuilder(); }
1437 public static Builder newBuilder() {
1438 return DEFAULT_INSTANCE.toBuilder();
1439 }
1440 public static Builder newBuilder(com.google.ortools.pdlp.QuadraticProgramStats prototype) {
1441 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1442 }
1443 @java.lang.Override
1445 return this == DEFAULT_INSTANCE
1446 ? new Builder() : new Builder().mergeFrom(this);
1447 }
1448
1449 @java.lang.Override
1451 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1452 Builder builder = new Builder(parent);
1453 return builder;
1454 }
1462 public static final class Builder extends
1463 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
1464 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.QuadraticProgramStats)
1465 com.google.ortools.pdlp.QuadraticProgramStatsOrBuilder {
1466 public static final com.google.protobuf.Descriptors.Descriptor
1468 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_descriptor;
1469 }
1470
1471 @java.lang.Override
1472 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1474 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_fieldAccessorTable
1475 .ensureFieldAccessorsInitialized(
1476 com.google.ortools.pdlp.QuadraticProgramStats.class, com.google.ortools.pdlp.QuadraticProgramStats.Builder.class);
1477 }
1478
1479 // Construct using com.google.ortools.pdlp.QuadraticProgramStats.newBuilder()
1480 private Builder() {
1481
1482 }
1483
1484 private Builder(
1485 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1486 super(parent);
1487
1488 }
1489 @java.lang.Override
1490 public Builder clear() {
1491 super.clear();
1492 bitField0_ = 0;
1493 numVariables_ = 0L;
1494 numConstraints_ = 0L;
1495 constraintMatrixColMinLInfNorm_ = 0D;
1496 constraintMatrixRowMinLInfNorm_ = 0D;
1497 constraintMatrixNumNonzeros_ = 0L;
1498 constraintMatrixAbsMax_ = 0D;
1499 constraintMatrixAbsMin_ = 0D;
1500 constraintMatrixAbsAvg_ = 0D;
1501 constraintMatrixL2Norm_ = 0D;
1502 combinedBoundsMax_ = 0D;
1503 combinedBoundsMin_ = 0D;
1504 combinedBoundsAvg_ = 0D;
1505 combinedBoundsL2Norm_ = 0D;
1506 combinedVariableBoundsMax_ = 0D;
1507 combinedVariableBoundsMin_ = 0D;
1508 combinedVariableBoundsAvg_ = 0D;
1509 combinedVariableBoundsL2Norm_ = 0D;
1510 variableBoundGapsNumFinite_ = 0L;
1511 variableBoundGapsMax_ = 0D;
1512 variableBoundGapsMin_ = 0D;
1513 variableBoundGapsAvg_ = 0D;
1514 variableBoundGapsL2Norm_ = 0D;
1515 objectiveVectorAbsMax_ = 0D;
1516 objectiveVectorAbsMin_ = 0D;
1517 objectiveVectorAbsAvg_ = 0D;
1518 objectiveVectorL2Norm_ = 0D;
1519 objectiveMatrixNumNonzeros_ = 0L;
1520 objectiveMatrixAbsMax_ = 0D;
1521 objectiveMatrixAbsMin_ = 0D;
1522 objectiveMatrixAbsAvg_ = 0D;
1523 objectiveMatrixL2Norm_ = 0D;
1524 return this;
1525 }
1526
1527 @java.lang.Override
1528 public com.google.protobuf.Descriptors.Descriptor
1530 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_descriptor;
1531 }
1532
1533 @java.lang.Override
1535 return com.google.ortools.pdlp.QuadraticProgramStats.getDefaultInstance();
1536 }
1537
1538 @java.lang.Override
1541 if (!result.isInitialized()) {
1542 throw newUninitializedMessageException(result);
1543 }
1544 return result;
1545 }
1546
1547 @java.lang.Override
1549 com.google.ortools.pdlp.QuadraticProgramStats result = new com.google.ortools.pdlp.QuadraticProgramStats(this);
1550 if (bitField0_ != 0) { buildPartial0(result); }
1551 onBuilt();
1552 return result;
1553 }
1554
1555 private void buildPartial0(com.google.ortools.pdlp.QuadraticProgramStats result) {
1556 int from_bitField0_ = bitField0_;
1557 int to_bitField0_ = 0;
1558 if (((from_bitField0_ & 0x00000001) != 0)) {
1559 result.numVariables_ = numVariables_;
1560 to_bitField0_ |= 0x00000001;
1561 }
1562 if (((from_bitField0_ & 0x00000002) != 0)) {
1563 result.numConstraints_ = numConstraints_;
1564 to_bitField0_ |= 0x00000002;
1565 }
1566 if (((from_bitField0_ & 0x00000004) != 0)) {
1567 result.constraintMatrixColMinLInfNorm_ = constraintMatrixColMinLInfNorm_;
1568 to_bitField0_ |= 0x00000004;
1569 }
1570 if (((from_bitField0_ & 0x00000008) != 0)) {
1571 result.constraintMatrixRowMinLInfNorm_ = constraintMatrixRowMinLInfNorm_;
1572 to_bitField0_ |= 0x00000008;
1573 }
1574 if (((from_bitField0_ & 0x00000010) != 0)) {
1575 result.constraintMatrixNumNonzeros_ = constraintMatrixNumNonzeros_;
1576 to_bitField0_ |= 0x00000010;
1577 }
1578 if (((from_bitField0_ & 0x00000020) != 0)) {
1579 result.constraintMatrixAbsMax_ = constraintMatrixAbsMax_;
1580 to_bitField0_ |= 0x00000020;
1581 }
1582 if (((from_bitField0_ & 0x00000040) != 0)) {
1583 result.constraintMatrixAbsMin_ = constraintMatrixAbsMin_;
1584 to_bitField0_ |= 0x00000040;
1585 }
1586 if (((from_bitField0_ & 0x00000080) != 0)) {
1587 result.constraintMatrixAbsAvg_ = constraintMatrixAbsAvg_;
1588 to_bitField0_ |= 0x00000080;
1589 }
1590 if (((from_bitField0_ & 0x00000100) != 0)) {
1591 result.constraintMatrixL2Norm_ = constraintMatrixL2Norm_;
1592 to_bitField0_ |= 0x00000100;
1593 }
1594 if (((from_bitField0_ & 0x00000200) != 0)) {
1595 result.combinedBoundsMax_ = combinedBoundsMax_;
1596 to_bitField0_ |= 0x00000200;
1597 }
1598 if (((from_bitField0_ & 0x00000400) != 0)) {
1599 result.combinedBoundsMin_ = combinedBoundsMin_;
1600 to_bitField0_ |= 0x00000400;
1601 }
1602 if (((from_bitField0_ & 0x00000800) != 0)) {
1603 result.combinedBoundsAvg_ = combinedBoundsAvg_;
1604 to_bitField0_ |= 0x00000800;
1605 }
1606 if (((from_bitField0_ & 0x00001000) != 0)) {
1607 result.combinedBoundsL2Norm_ = combinedBoundsL2Norm_;
1608 to_bitField0_ |= 0x00001000;
1609 }
1610 if (((from_bitField0_ & 0x00002000) != 0)) {
1611 result.combinedVariableBoundsMax_ = combinedVariableBoundsMax_;
1612 to_bitField0_ |= 0x00002000;
1613 }
1614 if (((from_bitField0_ & 0x00004000) != 0)) {
1615 result.combinedVariableBoundsMin_ = combinedVariableBoundsMin_;
1616 to_bitField0_ |= 0x00004000;
1617 }
1618 if (((from_bitField0_ & 0x00008000) != 0)) {
1619 result.combinedVariableBoundsAvg_ = combinedVariableBoundsAvg_;
1620 to_bitField0_ |= 0x00008000;
1621 }
1622 if (((from_bitField0_ & 0x00010000) != 0)) {
1623 result.combinedVariableBoundsL2Norm_ = combinedVariableBoundsL2Norm_;
1624 to_bitField0_ |= 0x00010000;
1625 }
1626 if (((from_bitField0_ & 0x00020000) != 0)) {
1627 result.variableBoundGapsNumFinite_ = variableBoundGapsNumFinite_;
1628 to_bitField0_ |= 0x00020000;
1629 }
1630 if (((from_bitField0_ & 0x00040000) != 0)) {
1631 result.variableBoundGapsMax_ = variableBoundGapsMax_;
1632 to_bitField0_ |= 0x00040000;
1633 }
1634 if (((from_bitField0_ & 0x00080000) != 0)) {
1635 result.variableBoundGapsMin_ = variableBoundGapsMin_;
1636 to_bitField0_ |= 0x00080000;
1637 }
1638 if (((from_bitField0_ & 0x00100000) != 0)) {
1639 result.variableBoundGapsAvg_ = variableBoundGapsAvg_;
1640 to_bitField0_ |= 0x00100000;
1641 }
1642 if (((from_bitField0_ & 0x00200000) != 0)) {
1643 result.variableBoundGapsL2Norm_ = variableBoundGapsL2Norm_;
1644 to_bitField0_ |= 0x00200000;
1645 }
1646 if (((from_bitField0_ & 0x00400000) != 0)) {
1647 result.objectiveVectorAbsMax_ = objectiveVectorAbsMax_;
1648 to_bitField0_ |= 0x00400000;
1649 }
1650 if (((from_bitField0_ & 0x00800000) != 0)) {
1651 result.objectiveVectorAbsMin_ = objectiveVectorAbsMin_;
1652 to_bitField0_ |= 0x00800000;
1653 }
1654 if (((from_bitField0_ & 0x01000000) != 0)) {
1655 result.objectiveVectorAbsAvg_ = objectiveVectorAbsAvg_;
1656 to_bitField0_ |= 0x01000000;
1657 }
1658 if (((from_bitField0_ & 0x02000000) != 0)) {
1659 result.objectiveVectorL2Norm_ = objectiveVectorL2Norm_;
1660 to_bitField0_ |= 0x02000000;
1661 }
1662 if (((from_bitField0_ & 0x04000000) != 0)) {
1663 result.objectiveMatrixNumNonzeros_ = objectiveMatrixNumNonzeros_;
1664 to_bitField0_ |= 0x04000000;
1665 }
1666 if (((from_bitField0_ & 0x08000000) != 0)) {
1667 result.objectiveMatrixAbsMax_ = objectiveMatrixAbsMax_;
1668 to_bitField0_ |= 0x08000000;
1669 }
1670 if (((from_bitField0_ & 0x10000000) != 0)) {
1671 result.objectiveMatrixAbsMin_ = objectiveMatrixAbsMin_;
1672 to_bitField0_ |= 0x10000000;
1673 }
1674 if (((from_bitField0_ & 0x20000000) != 0)) {
1675 result.objectiveMatrixAbsAvg_ = objectiveMatrixAbsAvg_;
1676 to_bitField0_ |= 0x20000000;
1677 }
1678 if (((from_bitField0_ & 0x40000000) != 0)) {
1679 result.objectiveMatrixL2Norm_ = objectiveMatrixL2Norm_;
1680 to_bitField0_ |= 0x40000000;
1681 }
1682 result.bitField0_ |= to_bitField0_;
1683 }
1684
1685 @java.lang.Override
1686 public Builder mergeFrom(com.google.protobuf.Message other) {
1687 if (other instanceof com.google.ortools.pdlp.QuadraticProgramStats) {
1688 return mergeFrom((com.google.ortools.pdlp.QuadraticProgramStats)other);
1689 } else {
1690 super.mergeFrom(other);
1691 return this;
1692 }
1693 }
1694
1695 public Builder mergeFrom(com.google.ortools.pdlp.QuadraticProgramStats other) {
1696 if (other == com.google.ortools.pdlp.QuadraticProgramStats.getDefaultInstance()) return this;
1697 if (other.hasNumVariables()) {
1698 setNumVariables(other.getNumVariables());
1699 }
1700 if (other.hasNumConstraints()) {
1701 setNumConstraints(other.getNumConstraints());
1702 }
1703 if (other.hasConstraintMatrixColMinLInfNorm()) {
1704 setConstraintMatrixColMinLInfNorm(other.getConstraintMatrixColMinLInfNorm());
1705 }
1706 if (other.hasConstraintMatrixRowMinLInfNorm()) {
1707 setConstraintMatrixRowMinLInfNorm(other.getConstraintMatrixRowMinLInfNorm());
1708 }
1709 if (other.hasConstraintMatrixNumNonzeros()) {
1710 setConstraintMatrixNumNonzeros(other.getConstraintMatrixNumNonzeros());
1711 }
1712 if (other.hasConstraintMatrixAbsMax()) {
1713 setConstraintMatrixAbsMax(other.getConstraintMatrixAbsMax());
1714 }
1715 if (other.hasConstraintMatrixAbsMin()) {
1716 setConstraintMatrixAbsMin(other.getConstraintMatrixAbsMin());
1717 }
1718 if (other.hasConstraintMatrixAbsAvg()) {
1719 setConstraintMatrixAbsAvg(other.getConstraintMatrixAbsAvg());
1720 }
1721 if (other.hasConstraintMatrixL2Norm()) {
1722 setConstraintMatrixL2Norm(other.getConstraintMatrixL2Norm());
1723 }
1724 if (other.hasCombinedBoundsMax()) {
1725 setCombinedBoundsMax(other.getCombinedBoundsMax());
1726 }
1727 if (other.hasCombinedBoundsMin()) {
1728 setCombinedBoundsMin(other.getCombinedBoundsMin());
1729 }
1730 if (other.hasCombinedBoundsAvg()) {
1731 setCombinedBoundsAvg(other.getCombinedBoundsAvg());
1732 }
1733 if (other.hasCombinedBoundsL2Norm()) {
1734 setCombinedBoundsL2Norm(other.getCombinedBoundsL2Norm());
1735 }
1736 if (other.hasCombinedVariableBoundsMax()) {
1737 setCombinedVariableBoundsMax(other.getCombinedVariableBoundsMax());
1738 }
1739 if (other.hasCombinedVariableBoundsMin()) {
1740 setCombinedVariableBoundsMin(other.getCombinedVariableBoundsMin());
1741 }
1742 if (other.hasCombinedVariableBoundsAvg()) {
1743 setCombinedVariableBoundsAvg(other.getCombinedVariableBoundsAvg());
1744 }
1745 if (other.hasCombinedVariableBoundsL2Norm()) {
1746 setCombinedVariableBoundsL2Norm(other.getCombinedVariableBoundsL2Norm());
1747 }
1748 if (other.hasVariableBoundGapsNumFinite()) {
1749 setVariableBoundGapsNumFinite(other.getVariableBoundGapsNumFinite());
1750 }
1751 if (other.hasVariableBoundGapsMax()) {
1752 setVariableBoundGapsMax(other.getVariableBoundGapsMax());
1753 }
1754 if (other.hasVariableBoundGapsMin()) {
1755 setVariableBoundGapsMin(other.getVariableBoundGapsMin());
1756 }
1757 if (other.hasVariableBoundGapsAvg()) {
1758 setVariableBoundGapsAvg(other.getVariableBoundGapsAvg());
1759 }
1760 if (other.hasVariableBoundGapsL2Norm()) {
1761 setVariableBoundGapsL2Norm(other.getVariableBoundGapsL2Norm());
1762 }
1763 if (other.hasObjectiveVectorAbsMax()) {
1764 setObjectiveVectorAbsMax(other.getObjectiveVectorAbsMax());
1765 }
1766 if (other.hasObjectiveVectorAbsMin()) {
1767 setObjectiveVectorAbsMin(other.getObjectiveVectorAbsMin());
1768 }
1769 if (other.hasObjectiveVectorAbsAvg()) {
1770 setObjectiveVectorAbsAvg(other.getObjectiveVectorAbsAvg());
1771 }
1772 if (other.hasObjectiveVectorL2Norm()) {
1773 setObjectiveVectorL2Norm(other.getObjectiveVectorL2Norm());
1774 }
1775 if (other.hasObjectiveMatrixNumNonzeros()) {
1776 setObjectiveMatrixNumNonzeros(other.getObjectiveMatrixNumNonzeros());
1777 }
1778 if (other.hasObjectiveMatrixAbsMax()) {
1779 setObjectiveMatrixAbsMax(other.getObjectiveMatrixAbsMax());
1780 }
1781 if (other.hasObjectiveMatrixAbsMin()) {
1782 setObjectiveMatrixAbsMin(other.getObjectiveMatrixAbsMin());
1783 }
1784 if (other.hasObjectiveMatrixAbsAvg()) {
1785 setObjectiveMatrixAbsAvg(other.getObjectiveMatrixAbsAvg());
1786 }
1787 if (other.hasObjectiveMatrixL2Norm()) {
1788 setObjectiveMatrixL2Norm(other.getObjectiveMatrixL2Norm());
1789 }
1790 this.mergeUnknownFields(other.getUnknownFields());
1791 onChanged();
1792 return this;
1793 }
1794
1795 @java.lang.Override
1796 public final boolean isInitialized() {
1797 return true;
1798 }
1799
1800 @java.lang.Override
1802 com.google.protobuf.CodedInputStream input,
1803 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1804 throws java.io.IOException {
1805 if (extensionRegistry == null) {
1806 throw new java.lang.NullPointerException();
1807 }
1808 try {
1809 boolean done = false;
1810 while (!done) {
1811 int tag = input.readTag();
1812 switch (tag) {
1813 case 0:
1814 done = true;
1815 break;
1816 case 8: {
1817 numVariables_ = input.readInt64();
1818 bitField0_ |= 0x00000001;
1819 break;
1820 } // case 8
1821 case 16: {
1822 numConstraints_ = input.readInt64();
1823 bitField0_ |= 0x00000002;
1824 break;
1825 } // case 16
1826 case 25: {
1827 constraintMatrixColMinLInfNorm_ = input.readDouble();
1828 bitField0_ |= 0x00000004;
1829 break;
1830 } // case 25
1831 case 33: {
1832 constraintMatrixRowMinLInfNorm_ = input.readDouble();
1833 bitField0_ |= 0x00000008;
1834 break;
1835 } // case 33
1836 case 40: {
1837 constraintMatrixNumNonzeros_ = input.readInt64();
1838 bitField0_ |= 0x00000010;
1839 break;
1840 } // case 40
1841 case 49: {
1842 constraintMatrixAbsMax_ = input.readDouble();
1843 bitField0_ |= 0x00000020;
1844 break;
1845 } // case 49
1846 case 57: {
1847 constraintMatrixAbsMin_ = input.readDouble();
1848 bitField0_ |= 0x00000040;
1849 break;
1850 } // case 57
1851 case 65: {
1852 constraintMatrixAbsAvg_ = input.readDouble();
1853 bitField0_ |= 0x00000080;
1854 break;
1855 } // case 65
1856 case 73: {
1857 combinedBoundsMax_ = input.readDouble();
1858 bitField0_ |= 0x00000200;
1859 break;
1860 } // case 73
1861 case 81: {
1862 combinedBoundsMin_ = input.readDouble();
1863 bitField0_ |= 0x00000400;
1864 break;
1865 } // case 81
1866 case 89: {
1867 combinedBoundsAvg_ = input.readDouble();
1868 bitField0_ |= 0x00000800;
1869 break;
1870 } // case 89
1871 case 96: {
1872 variableBoundGapsNumFinite_ = input.readInt64();
1873 bitField0_ |= 0x00020000;
1874 break;
1875 } // case 96
1876 case 105: {
1877 variableBoundGapsMax_ = input.readDouble();
1878 bitField0_ |= 0x00040000;
1879 break;
1880 } // case 105
1881 case 113: {
1882 variableBoundGapsMin_ = input.readDouble();
1883 bitField0_ |= 0x00080000;
1884 break;
1885 } // case 113
1886 case 121: {
1887 variableBoundGapsAvg_ = input.readDouble();
1888 bitField0_ |= 0x00100000;
1889 break;
1890 } // case 121
1891 case 129: {
1892 objectiveVectorAbsMax_ = input.readDouble();
1893 bitField0_ |= 0x00400000;
1894 break;
1895 } // case 129
1896 case 137: {
1897 objectiveVectorAbsMin_ = input.readDouble();
1898 bitField0_ |= 0x00800000;
1899 break;
1900 } // case 137
1901 case 145: {
1902 objectiveVectorAbsAvg_ = input.readDouble();
1903 bitField0_ |= 0x01000000;
1904 break;
1905 } // case 145
1906 case 152: {
1907 objectiveMatrixNumNonzeros_ = input.readInt64();
1908 bitField0_ |= 0x04000000;
1909 break;
1910 } // case 152
1911 case 161: {
1912 objectiveMatrixAbsMax_ = input.readDouble();
1913 bitField0_ |= 0x08000000;
1914 break;
1915 } // case 161
1916 case 169: {
1917 objectiveMatrixAbsMin_ = input.readDouble();
1918 bitField0_ |= 0x10000000;
1919 break;
1920 } // case 169
1921 case 177: {
1922 objectiveMatrixAbsAvg_ = input.readDouble();
1923 bitField0_ |= 0x20000000;
1924 break;
1925 } // case 177
1926 case 185: {
1927 objectiveVectorL2Norm_ = input.readDouble();
1928 bitField0_ |= 0x02000000;
1929 break;
1930 } // case 185
1931 case 193: {
1932 combinedBoundsL2Norm_ = input.readDouble();
1933 bitField0_ |= 0x00001000;
1934 break;
1935 } // case 193
1936 case 201: {
1937 constraintMatrixL2Norm_ = input.readDouble();
1938 bitField0_ |= 0x00000100;
1939 break;
1940 } // case 201
1941 case 209: {
1942 variableBoundGapsL2Norm_ = input.readDouble();
1943 bitField0_ |= 0x00200000;
1944 break;
1945 } // case 209
1946 case 217: {
1947 objectiveMatrixL2Norm_ = input.readDouble();
1948 bitField0_ |= 0x40000000;
1949 break;
1950 } // case 217
1951 case 225: {
1952 combinedVariableBoundsMax_ = input.readDouble();
1953 bitField0_ |= 0x00002000;
1954 break;
1955 } // case 225
1956 case 233: {
1957 combinedVariableBoundsMin_ = input.readDouble();
1958 bitField0_ |= 0x00004000;
1959 break;
1960 } // case 233
1961 case 241: {
1962 combinedVariableBoundsAvg_ = input.readDouble();
1963 bitField0_ |= 0x00008000;
1964 break;
1965 } // case 241
1966 case 249: {
1967 combinedVariableBoundsL2Norm_ = input.readDouble();
1968 bitField0_ |= 0x00010000;
1969 break;
1970 } // case 249
1971 default: {
1972 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1973 done = true; // was an endgroup tag
1974 }
1975 break;
1976 } // default:
1977 } // switch (tag)
1978 } // while (!done)
1979 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1980 throw e.unwrapIOException();
1981 } finally {
1982 onChanged();
1983 } // finally
1984 return this;
1985 }
1986 private int bitField0_;
1987
1988 private long numVariables_ ;
1993 @java.lang.Override
1994 public boolean hasNumVariables() {
1995 return ((bitField0_ & 0x00000001) != 0);
1996 }
2001 @java.lang.Override
2002 public long getNumVariables() {
2003 return numVariables_;
2004 }
2010 public Builder setNumVariables(long value) {
2011
2012 numVariables_ = value;
2013 bitField0_ |= 0x00000001;
2014 onChanged();
2015 return this;
2016 }
2022 bitField0_ = (bitField0_ & ~0x00000001);
2023 numVariables_ = 0L;
2024 onChanged();
2025 return this;
2026 }
2027
2028 private long numConstraints_ ;
2033 @java.lang.Override
2034 public boolean hasNumConstraints() {
2035 return ((bitField0_ & 0x00000002) != 0);
2036 }
2041 @java.lang.Override
2042 public long getNumConstraints() {
2043 return numConstraints_;
2044 }
2050 public Builder setNumConstraints(long value) {
2051
2052 numConstraints_ = value;
2053 bitField0_ |= 0x00000002;
2054 onChanged();
2055 return this;
2056 }
2062 bitField0_ = (bitField0_ & ~0x00000002);
2063 numConstraints_ = 0L;
2064 onChanged();
2065 return this;
2066 }
2067
2068 private double constraintMatrixColMinLInfNorm_ ;
2079 @java.lang.Override
2081 return ((bitField0_ & 0x00000004) != 0);
2082 }
2093 @java.lang.Override
2095 return constraintMatrixColMinLInfNorm_;
2096 }
2109
2110 constraintMatrixColMinLInfNorm_ = value;
2111 bitField0_ |= 0x00000004;
2112 onChanged();
2113 return this;
2114 }
2126 bitField0_ = (bitField0_ & ~0x00000004);
2127 constraintMatrixColMinLInfNorm_ = 0D;
2128 onChanged();
2129 return this;
2130 }
2131
2132 private double constraintMatrixRowMinLInfNorm_ ;
2137 @java.lang.Override
2139 return ((bitField0_ & 0x00000008) != 0);
2140 }
2145 @java.lang.Override
2147 return constraintMatrixRowMinLInfNorm_;
2148 }
2155
2156 constraintMatrixRowMinLInfNorm_ = value;
2157 bitField0_ |= 0x00000008;
2158 onChanged();
2159 return this;
2160 }
2166 bitField0_ = (bitField0_ & ~0x00000008);
2167 constraintMatrixRowMinLInfNorm_ = 0D;
2168 onChanged();
2169 return this;
2170 }
2171
2172 private long constraintMatrixNumNonzeros_ ;
2181 @java.lang.Override
2183 return ((bitField0_ & 0x00000010) != 0);
2184 }
2193 @java.lang.Override
2195 return constraintMatrixNumNonzeros_;
2196 }
2207
2208 constraintMatrixNumNonzeros_ = value;
2209 bitField0_ |= 0x00000010;
2210 onChanged();
2211 return this;
2212 }
2222 bitField0_ = (bitField0_ & ~0x00000010);
2223 constraintMatrixNumNonzeros_ = 0L;
2224 onChanged();
2225 return this;
2226 }
2227
2228 private double constraintMatrixAbsMax_ ;
2242 @java.lang.Override
2243 public boolean hasConstraintMatrixAbsMax() {
2244 return ((bitField0_ & 0x00000020) != 0);
2245 }
2259 @java.lang.Override
2261 return constraintMatrixAbsMax_;
2262 }
2277 public Builder setConstraintMatrixAbsMax(double value) {
2278
2279 constraintMatrixAbsMax_ = value;
2280 bitField0_ |= 0x00000020;
2281 onChanged();
2282 return this;
2283 }
2298 bitField0_ = (bitField0_ & ~0x00000020);
2299 constraintMatrixAbsMax_ = 0D;
2300 onChanged();
2301 return this;
2302 }
2303
2304 private double constraintMatrixAbsMin_ ;
2309 @java.lang.Override
2310 public boolean hasConstraintMatrixAbsMin() {
2311 return ((bitField0_ & 0x00000040) != 0);
2312 }
2317 @java.lang.Override
2319 return constraintMatrixAbsMin_;
2320 }
2326 public Builder setConstraintMatrixAbsMin(double value) {
2327
2328 constraintMatrixAbsMin_ = value;
2329 bitField0_ |= 0x00000040;
2330 onChanged();
2331 return this;
2332 }
2338 bitField0_ = (bitField0_ & ~0x00000040);
2339 constraintMatrixAbsMin_ = 0D;
2340 onChanged();
2341 return this;
2342 }
2343
2344 private double constraintMatrixAbsAvg_ ;
2349 @java.lang.Override
2350 public boolean hasConstraintMatrixAbsAvg() {
2351 return ((bitField0_ & 0x00000080) != 0);
2352 }
2357 @java.lang.Override
2359 return constraintMatrixAbsAvg_;
2360 }
2366 public Builder setConstraintMatrixAbsAvg(double value) {
2367
2368 constraintMatrixAbsAvg_ = value;
2369 bitField0_ |= 0x00000080;
2370 onChanged();
2371 return this;
2372 }
2378 bitField0_ = (bitField0_ & ~0x00000080);
2379 constraintMatrixAbsAvg_ = 0D;
2380 onChanged();
2381 return this;
2382 }
2383
2384 private double constraintMatrixL2Norm_ ;
2389 @java.lang.Override
2390 public boolean hasConstraintMatrixL2Norm() {
2391 return ((bitField0_ & 0x00000100) != 0);
2392 }
2397 @java.lang.Override
2399 return constraintMatrixL2Norm_;
2400 }
2406 public Builder setConstraintMatrixL2Norm(double value) {
2407
2408 constraintMatrixL2Norm_ = value;
2409 bitField0_ |= 0x00000100;
2410 onChanged();
2411 return this;
2412 }
2418 bitField0_ = (bitField0_ & ~0x00000100);
2419 constraintMatrixL2Norm_ = 0D;
2420 onChanged();
2421 return this;
2422 }
2423
2424 private double combinedBoundsMax_ ;
2439 @java.lang.Override
2440 public boolean hasCombinedBoundsMax() {
2441 return ((bitField0_ & 0x00000200) != 0);
2442 }
2457 @java.lang.Override
2458 public double getCombinedBoundsMax() {
2459 return combinedBoundsMax_;
2460 }
2476 public Builder setCombinedBoundsMax(double value) {
2477
2478 combinedBoundsMax_ = value;
2479 bitField0_ |= 0x00000200;
2480 onChanged();
2481 return this;
2482 }
2498 bitField0_ = (bitField0_ & ~0x00000200);
2499 combinedBoundsMax_ = 0D;
2500 onChanged();
2501 return this;
2502 }
2503
2504 private double combinedBoundsMin_ ;
2509 @java.lang.Override
2510 public boolean hasCombinedBoundsMin() {
2511 return ((bitField0_ & 0x00000400) != 0);
2512 }
2517 @java.lang.Override
2518 public double getCombinedBoundsMin() {
2519 return combinedBoundsMin_;
2520 }
2526 public Builder setCombinedBoundsMin(double value) {
2527
2528 combinedBoundsMin_ = value;
2529 bitField0_ |= 0x00000400;
2530 onChanged();
2531 return this;
2532 }
2538 bitField0_ = (bitField0_ & ~0x00000400);
2539 combinedBoundsMin_ = 0D;
2540 onChanged();
2541 return this;
2542 }
2543
2544 private double combinedBoundsAvg_ ;
2549 @java.lang.Override
2550 public boolean hasCombinedBoundsAvg() {
2551 return ((bitField0_ & 0x00000800) != 0);
2552 }
2557 @java.lang.Override
2558 public double getCombinedBoundsAvg() {
2559 return combinedBoundsAvg_;
2560 }
2566 public Builder setCombinedBoundsAvg(double value) {
2567
2568 combinedBoundsAvg_ = value;
2569 bitField0_ |= 0x00000800;
2570 onChanged();
2571 return this;
2572 }
2578 bitField0_ = (bitField0_ & ~0x00000800);
2579 combinedBoundsAvg_ = 0D;
2580 onChanged();
2581 return this;
2582 }
2583
2584 private double combinedBoundsL2Norm_ ;
2589 @java.lang.Override
2590 public boolean hasCombinedBoundsL2Norm() {
2591 return ((bitField0_ & 0x00001000) != 0);
2592 }
2597 @java.lang.Override
2598 public double getCombinedBoundsL2Norm() {
2599 return combinedBoundsL2Norm_;
2600 }
2606 public Builder setCombinedBoundsL2Norm(double value) {
2607
2608 combinedBoundsL2Norm_ = value;
2609 bitField0_ |= 0x00001000;
2610 onChanged();
2611 return this;
2612 }
2618 bitField0_ = (bitField0_ & ~0x00001000);
2619 combinedBoundsL2Norm_ = 0D;
2620 onChanged();
2621 return this;
2622 }
2623
2624 private double combinedVariableBoundsMax_ ;
2637 @java.lang.Override
2639 return ((bitField0_ & 0x00002000) != 0);
2640 }
2653 @java.lang.Override
2655 return combinedVariableBoundsMax_;
2656 }
2671
2672 combinedVariableBoundsMax_ = value;
2673 bitField0_ |= 0x00002000;
2674 onChanged();
2675 return this;
2676 }
2690 bitField0_ = (bitField0_ & ~0x00002000);
2691 combinedVariableBoundsMax_ = 0D;
2692 onChanged();
2693 return this;
2694 }
2695
2696 private double combinedVariableBoundsMin_ ;
2701 @java.lang.Override
2703 return ((bitField0_ & 0x00004000) != 0);
2704 }
2709 @java.lang.Override
2711 return combinedVariableBoundsMin_;
2712 }
2719
2720 combinedVariableBoundsMin_ = value;
2721 bitField0_ |= 0x00004000;
2722 onChanged();
2723 return this;
2724 }
2730 bitField0_ = (bitField0_ & ~0x00004000);
2731 combinedVariableBoundsMin_ = 0D;
2732 onChanged();
2733 return this;
2734 }
2735
2736 private double combinedVariableBoundsAvg_ ;
2741 @java.lang.Override
2743 return ((bitField0_ & 0x00008000) != 0);
2744 }
2749 @java.lang.Override
2751 return combinedVariableBoundsAvg_;
2752 }
2759
2760 combinedVariableBoundsAvg_ = value;
2761 bitField0_ |= 0x00008000;
2762 onChanged();
2763 return this;
2764 }
2770 bitField0_ = (bitField0_ & ~0x00008000);
2771 combinedVariableBoundsAvg_ = 0D;
2772 onChanged();
2773 return this;
2774 }
2775
2776 private double combinedVariableBoundsL2Norm_ ;
2781 @java.lang.Override
2783 return ((bitField0_ & 0x00010000) != 0);
2784 }
2789 @java.lang.Override
2791 return combinedVariableBoundsL2Norm_;
2792 }
2799
2800 combinedVariableBoundsL2Norm_ = value;
2801 bitField0_ |= 0x00010000;
2802 onChanged();
2803 return this;
2804 }
2810 bitField0_ = (bitField0_ & ~0x00010000);
2811 combinedVariableBoundsL2Norm_ = 0D;
2812 onChanged();
2813 return this;
2814 }
2815
2816 private long variableBoundGapsNumFinite_ ;
2826 @java.lang.Override
2828 return ((bitField0_ & 0x00020000) != 0);
2829 }
2839 @java.lang.Override
2841 return variableBoundGapsNumFinite_;
2842 }
2854
2855 variableBoundGapsNumFinite_ = value;
2856 bitField0_ |= 0x00020000;
2857 onChanged();
2858 return this;
2859 }
2870 bitField0_ = (bitField0_ & ~0x00020000);
2871 variableBoundGapsNumFinite_ = 0L;
2872 onChanged();
2873 return this;
2874 }
2875
2876 private double variableBoundGapsMax_ ;
2888 @java.lang.Override
2889 public boolean hasVariableBoundGapsMax() {
2890 return ((bitField0_ & 0x00040000) != 0);
2891 }
2903 @java.lang.Override
2904 public double getVariableBoundGapsMax() {
2905 return variableBoundGapsMax_;
2906 }
2919 public Builder setVariableBoundGapsMax(double value) {
2920
2921 variableBoundGapsMax_ = value;
2922 bitField0_ |= 0x00040000;
2923 onChanged();
2924 return this;
2925 }
2938 bitField0_ = (bitField0_ & ~0x00040000);
2939 variableBoundGapsMax_ = 0D;
2940 onChanged();
2941 return this;
2942 }
2943
2944 private double variableBoundGapsMin_ ;
2949 @java.lang.Override
2950 public boolean hasVariableBoundGapsMin() {
2951 return ((bitField0_ & 0x00080000) != 0);
2952 }
2957 @java.lang.Override
2958 public double getVariableBoundGapsMin() {
2959 return variableBoundGapsMin_;
2960 }
2966 public Builder setVariableBoundGapsMin(double value) {
2967
2968 variableBoundGapsMin_ = value;
2969 bitField0_ |= 0x00080000;
2970 onChanged();
2971 return this;
2972 }
2978 bitField0_ = (bitField0_ & ~0x00080000);
2979 variableBoundGapsMin_ = 0D;
2980 onChanged();
2981 return this;
2982 }
2983
2984 private double variableBoundGapsAvg_ ;
2989 @java.lang.Override
2990 public boolean hasVariableBoundGapsAvg() {
2991 return ((bitField0_ & 0x00100000) != 0);
2992 }
2997 @java.lang.Override
2998 public double getVariableBoundGapsAvg() {
2999 return variableBoundGapsAvg_;
3000 }
3006 public Builder setVariableBoundGapsAvg(double value) {
3007
3008 variableBoundGapsAvg_ = value;
3009 bitField0_ |= 0x00100000;
3010 onChanged();
3011 return this;
3012 }
3018 bitField0_ = (bitField0_ & ~0x00100000);
3019 variableBoundGapsAvg_ = 0D;
3020 onChanged();
3021 return this;
3022 }
3023
3024 private double variableBoundGapsL2Norm_ ;
3029 @java.lang.Override
3031 return ((bitField0_ & 0x00200000) != 0);
3032 }
3037 @java.lang.Override
3039 return variableBoundGapsL2Norm_;
3040 }
3047
3048 variableBoundGapsL2Norm_ = value;
3049 bitField0_ |= 0x00200000;
3050 onChanged();
3051 return this;
3052 }
3058 bitField0_ = (bitField0_ & ~0x00200000);
3059 variableBoundGapsL2Norm_ = 0D;
3060 onChanged();
3061 return this;
3062 }
3063
3064 private double objectiveVectorAbsMax_ ;
3073 @java.lang.Override
3074 public boolean hasObjectiveVectorAbsMax() {
3075 return ((bitField0_ & 0x00400000) != 0);
3076 }
3085 @java.lang.Override
3087 return objectiveVectorAbsMax_;
3088 }
3098 public Builder setObjectiveVectorAbsMax(double value) {
3099
3100 objectiveVectorAbsMax_ = value;
3101 bitField0_ |= 0x00400000;
3102 onChanged();
3103 return this;
3104 }
3114 bitField0_ = (bitField0_ & ~0x00400000);
3115 objectiveVectorAbsMax_ = 0D;
3116 onChanged();
3117 return this;
3118 }
3119
3120 private double objectiveVectorAbsMin_ ;
3125 @java.lang.Override
3126 public boolean hasObjectiveVectorAbsMin() {
3127 return ((bitField0_ & 0x00800000) != 0);
3128 }
3133 @java.lang.Override
3135 return objectiveVectorAbsMin_;
3136 }
3142 public Builder setObjectiveVectorAbsMin(double value) {
3143
3144 objectiveVectorAbsMin_ = value;
3145 bitField0_ |= 0x00800000;
3146 onChanged();
3147 return this;
3148 }
3154 bitField0_ = (bitField0_ & ~0x00800000);
3155 objectiveVectorAbsMin_ = 0D;
3156 onChanged();
3157 return this;
3158 }
3159
3160 private double objectiveVectorAbsAvg_ ;
3165 @java.lang.Override
3166 public boolean hasObjectiveVectorAbsAvg() {
3167 return ((bitField0_ & 0x01000000) != 0);
3168 }
3173 @java.lang.Override
3175 return objectiveVectorAbsAvg_;
3176 }
3182 public Builder setObjectiveVectorAbsAvg(double value) {
3183
3184 objectiveVectorAbsAvg_ = value;
3185 bitField0_ |= 0x01000000;
3186 onChanged();
3187 return this;
3188 }
3194 bitField0_ = (bitField0_ & ~0x01000000);
3195 objectiveVectorAbsAvg_ = 0D;
3196 onChanged();
3197 return this;
3198 }
3199
3200 private double objectiveVectorL2Norm_ ;
3205 @java.lang.Override
3206 public boolean hasObjectiveVectorL2Norm() {
3207 return ((bitField0_ & 0x02000000) != 0);
3208 }
3213 @java.lang.Override
3215 return objectiveVectorL2Norm_;
3216 }
3222 public Builder setObjectiveVectorL2Norm(double value) {
3223
3224 objectiveVectorL2Norm_ = value;
3225 bitField0_ |= 0x02000000;
3226 onChanged();
3227 return this;
3228 }
3234 bitField0_ = (bitField0_ & ~0x02000000);
3235 objectiveVectorL2Norm_ = 0D;
3236 onChanged();
3237 return this;
3238 }
3239
3240 private long objectiveMatrixNumNonzeros_ ;
3245 @java.lang.Override
3247 return ((bitField0_ & 0x04000000) != 0);
3248 }
3253 @java.lang.Override
3255 return objectiveMatrixNumNonzeros_;
3256 }
3263
3264 objectiveMatrixNumNonzeros_ = value;
3265 bitField0_ |= 0x04000000;
3266 onChanged();
3267 return this;
3268 }
3274 bitField0_ = (bitField0_ & ~0x04000000);
3275 objectiveMatrixNumNonzeros_ = 0L;
3276 onChanged();
3277 return this;
3278 }
3279
3280 private double objectiveMatrixAbsMax_ ;
3291 @java.lang.Override
3292 public boolean hasObjectiveMatrixAbsMax() {
3293 return ((bitField0_ & 0x08000000) != 0);
3294 }
3305 @java.lang.Override
3307 return objectiveMatrixAbsMax_;
3308 }
3320 public Builder setObjectiveMatrixAbsMax(double value) {
3321
3322 objectiveMatrixAbsMax_ = value;
3323 bitField0_ |= 0x08000000;
3324 onChanged();
3325 return this;
3326 }
3338 bitField0_ = (bitField0_ & ~0x08000000);
3339 objectiveMatrixAbsMax_ = 0D;
3340 onChanged();
3341 return this;
3342 }
3343
3344 private double objectiveMatrixAbsMin_ ;
3349 @java.lang.Override
3350 public boolean hasObjectiveMatrixAbsMin() {
3351 return ((bitField0_ & 0x10000000) != 0);
3352 }
3357 @java.lang.Override
3359 return objectiveMatrixAbsMin_;
3360 }
3366 public Builder setObjectiveMatrixAbsMin(double value) {
3367
3368 objectiveMatrixAbsMin_ = value;
3369 bitField0_ |= 0x10000000;
3370 onChanged();
3371 return this;
3372 }
3378 bitField0_ = (bitField0_ & ~0x10000000);
3379 objectiveMatrixAbsMin_ = 0D;
3380 onChanged();
3381 return this;
3382 }
3383
3384 private double objectiveMatrixAbsAvg_ ;
3389 @java.lang.Override
3390 public boolean hasObjectiveMatrixAbsAvg() {
3391 return ((bitField0_ & 0x20000000) != 0);
3392 }
3397 @java.lang.Override
3399 return objectiveMatrixAbsAvg_;
3400 }
3406 public Builder setObjectiveMatrixAbsAvg(double value) {
3407
3408 objectiveMatrixAbsAvg_ = value;
3409 bitField0_ |= 0x20000000;
3410 onChanged();
3411 return this;
3412 }
3418 bitField0_ = (bitField0_ & ~0x20000000);
3419 objectiveMatrixAbsAvg_ = 0D;
3420 onChanged();
3421 return this;
3422 }
3423
3424 private double objectiveMatrixL2Norm_ ;
3429 @java.lang.Override
3430 public boolean hasObjectiveMatrixL2Norm() {
3431 return ((bitField0_ & 0x40000000) != 0);
3432 }
3437 @java.lang.Override
3439 return objectiveMatrixL2Norm_;
3440 }
3446 public Builder setObjectiveMatrixL2Norm(double value) {
3447
3448 objectiveMatrixL2Norm_ = value;
3449 bitField0_ |= 0x40000000;
3450 onChanged();
3451 return this;
3452 }
3458 bitField0_ = (bitField0_ & ~0x40000000);
3459 objectiveMatrixL2Norm_ = 0D;
3460 onChanged();
3461 return this;
3462 }
3463
3464 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.QuadraticProgramStats)
3465 }
3466
3467 // @@protoc_insertion_point(class_scope:operations_research.pdlp.QuadraticProgramStats)
3468 private static final com.google.ortools.pdlp.QuadraticProgramStats DEFAULT_INSTANCE;
3469 static {
3470 DEFAULT_INSTANCE = new com.google.ortools.pdlp.QuadraticProgramStats();
3471 }
3472
3474 return DEFAULT_INSTANCE;
3475 }
3476
3477 private static final com.google.protobuf.Parser<QuadraticProgramStats>
3478 PARSER = new com.google.protobuf.AbstractParser<QuadraticProgramStats>() {
3479 @java.lang.Override
3480 public QuadraticProgramStats parsePartialFrom(
3481 com.google.protobuf.CodedInputStream input,
3482 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3483 throws com.google.protobuf.InvalidProtocolBufferException {
3484 Builder builder = newBuilder();
3485 try {
3486 builder.mergeFrom(input, extensionRegistry);
3487 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3488 throw e.setUnfinishedMessage(builder.buildPartial());
3489 } catch (com.google.protobuf.UninitializedMessageException e) {
3490 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
3491 } catch (java.io.IOException e) {
3492 throw new com.google.protobuf.InvalidProtocolBufferException(e)
3493 .setUnfinishedMessage(builder.buildPartial());
3494 }
3495 return builder.buildPartial();
3496 }
3497 };
3498
3499 public static com.google.protobuf.Parser<QuadraticProgramStats> parser() {
3500 return PARSER;
3501 }
3502
3503 @java.lang.Override
3504 public com.google.protobuf.Parser<QuadraticProgramStats> getParserForType() {
3505 return PARSER;
3506 }
3507
3508 @java.lang.Override
3510 return DEFAULT_INSTANCE;
3511 }
3512
3513}
3514
Builder mergeFrom(com.google.protobuf.Message other)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.pdlp.QuadraticProgramStats buildPartial()
com.google.ortools.pdlp.QuadraticProgramStats getDefaultInstanceForType()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Builder mergeFrom(com.google.ortools.pdlp.QuadraticProgramStats other)
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
com.google.ortools.pdlp.QuadraticProgramStats build()
static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(java.io.InputStream input)
com.google.ortools.pdlp.QuadraticProgramStats getDefaultInstanceForType()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
void writeTo(com.google.protobuf.CodedOutputStream output)
static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(byte[] data)
static com.google.ortools.pdlp.QuadraticProgramStats parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.pdlp.QuadraticProgramStats getDefaultInstance()
static com.google.protobuf.Parser< QuadraticProgramStats > parser()
static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(com.google.protobuf.ByteString data)
static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static Builder newBuilder(com.google.ortools.pdlp.QuadraticProgramStats prototype)
static com.google.ortools.pdlp.QuadraticProgramStats parseDelimitedFrom(java.io.InputStream input)
com.google.protobuf.Parser< QuadraticProgramStats > getParserForType()
static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)