Google OR-Tools v9.12
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// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/pdlp/solve_log.proto
4// Protobuf Java Version: 4.29.3
5
6package com.google.ortools.pdlp;
7
15public final class QuadraticProgramStats extends
16 com.google.protobuf.GeneratedMessage implements
17 // @@protoc_insertion_point(message_implements:operations_research.pdlp.QuadraticProgramStats)
19private static final long serialVersionUID = 0L;
20 static {
21 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
22 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
23 /* major= */ 4,
24 /* minor= */ 29,
25 /* patch= */ 3,
26 /* suffix= */ "",
27 QuadraticProgramStats.class.getName());
28 }
29 // Use QuadraticProgramStats.newBuilder() to construct.
30 private QuadraticProgramStats(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
31 super(builder);
32 }
33 private QuadraticProgramStats() {
34 }
35
36 public static final com.google.protobuf.Descriptors.Descriptor
38 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_descriptor;
39 }
40
41 @java.lang.Override
42 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
44 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_fieldAccessorTable
45 .ensureFieldAccessorsInitialized(
46 com.google.ortools.pdlp.QuadraticProgramStats.class, com.google.ortools.pdlp.QuadraticProgramStats.Builder.class);
47 }
48
49 private int bitField0_;
50 public static final int NUM_VARIABLES_FIELD_NUMBER = 1;
51 private long numVariables_ = 0L;
56 @java.lang.Override
57 public boolean hasNumVariables() {
58 return ((bitField0_ & 0x00000001) != 0);
59 }
60
64 @java.lang.Override
65 public long getNumVariables() {
66 return numVariables_;
67 }
68
69 public static final int NUM_CONSTRAINTS_FIELD_NUMBER = 2;
70 private long numConstraints_ = 0L;
75 @java.lang.Override
76 public boolean hasNumConstraints() {
77 return ((bitField0_ & 0x00000002) != 0);
78 }
79
83 @java.lang.Override
84 public long getNumConstraints() {
85 return numConstraints_;
86 }
87
89 private double constraintMatrixColMinLInfNorm_ = 0D;
100 @java.lang.Override
102 return ((bitField0_ & 0x00000004) != 0);
103 }
104
114 @java.lang.Override
116 return constraintMatrixColMinLInfNorm_;
117 }
118
120 private double constraintMatrixRowMinLInfNorm_ = 0D;
125 @java.lang.Override
127 return ((bitField0_ & 0x00000008) != 0);
128 }
129
133 @java.lang.Override
135 return constraintMatrixRowMinLInfNorm_;
136 }
137
139 private long constraintMatrixNumNonzeros_ = 0L;
148 @java.lang.Override
150 return ((bitField0_ & 0x00000010) != 0);
151 }
152
160 @java.lang.Override
162 return constraintMatrixNumNonzeros_;
163 }
164
165 public static final int CONSTRAINT_MATRIX_ABS_MAX_FIELD_NUMBER = 6;
166 private double constraintMatrixAbsMax_ = 0D;
180 @java.lang.Override
181 public boolean hasConstraintMatrixAbsMax() {
182 return ((bitField0_ & 0x00000020) != 0);
183 }
184
197 @java.lang.Override
199 return constraintMatrixAbsMax_;
200 }
201
202 public static final int CONSTRAINT_MATRIX_ABS_MIN_FIELD_NUMBER = 7;
203 private double constraintMatrixAbsMin_ = 0D;
208 @java.lang.Override
209 public boolean hasConstraintMatrixAbsMin() {
210 return ((bitField0_ & 0x00000040) != 0);
211 }
212
216 @java.lang.Override
218 return constraintMatrixAbsMin_;
219 }
220
221 public static final int CONSTRAINT_MATRIX_ABS_AVG_FIELD_NUMBER = 8;
222 private double constraintMatrixAbsAvg_ = 0D;
227 @java.lang.Override
228 public boolean hasConstraintMatrixAbsAvg() {
229 return ((bitField0_ & 0x00000080) != 0);
230 }
231
235 @java.lang.Override
237 return constraintMatrixAbsAvg_;
238 }
239
240 public static final int CONSTRAINT_MATRIX_L2_NORM_FIELD_NUMBER = 25;
241 private double constraintMatrixL2Norm_ = 0D;
246 @java.lang.Override
247 public boolean hasConstraintMatrixL2Norm() {
248 return ((bitField0_ & 0x00000100) != 0);
249 }
250
254 @java.lang.Override
256 return constraintMatrixL2Norm_;
257 }
258
259 public static final int COMBINED_BOUNDS_MAX_FIELD_NUMBER = 9;
260 private double combinedBoundsMax_ = 0D;
275 @java.lang.Override
276 public boolean hasCombinedBoundsMax() {
277 return ((bitField0_ & 0x00000200) != 0);
278 }
279
293 @java.lang.Override
294 public double getCombinedBoundsMax() {
295 return combinedBoundsMax_;
296 }
297
298 public static final int COMBINED_BOUNDS_MIN_FIELD_NUMBER = 10;
299 private double combinedBoundsMin_ = 0D;
304 @java.lang.Override
305 public boolean hasCombinedBoundsMin() {
306 return ((bitField0_ & 0x00000400) != 0);
307 }
308
312 @java.lang.Override
313 public double getCombinedBoundsMin() {
314 return combinedBoundsMin_;
315 }
316
317 public static final int COMBINED_BOUNDS_AVG_FIELD_NUMBER = 11;
318 private double combinedBoundsAvg_ = 0D;
323 @java.lang.Override
324 public boolean hasCombinedBoundsAvg() {
325 return ((bitField0_ & 0x00000800) != 0);
326 }
327
331 @java.lang.Override
332 public double getCombinedBoundsAvg() {
333 return combinedBoundsAvg_;
334 }
335
336 public static final int COMBINED_BOUNDS_L2_NORM_FIELD_NUMBER = 24;
337 private double combinedBoundsL2Norm_ = 0D;
342 @java.lang.Override
343 public boolean hasCombinedBoundsL2Norm() {
344 return ((bitField0_ & 0x00001000) != 0);
345 }
346
350 @java.lang.Override
351 public double getCombinedBoundsL2Norm() {
352 return combinedBoundsL2Norm_;
353 }
354
355 public static final int COMBINED_VARIABLE_BOUNDS_MAX_FIELD_NUMBER = 28;
356 private double combinedVariableBoundsMax_ = 0D;
369 @java.lang.Override
371 return ((bitField0_ & 0x00002000) != 0);
372 }
373
385 @java.lang.Override
387 return combinedVariableBoundsMax_;
388 }
389
390 public static final int COMBINED_VARIABLE_BOUNDS_MIN_FIELD_NUMBER = 29;
391 private double combinedVariableBoundsMin_ = 0D;
396 @java.lang.Override
398 return ((bitField0_ & 0x00004000) != 0);
399 }
400
404 @java.lang.Override
406 return combinedVariableBoundsMin_;
407 }
408
409 public static final int COMBINED_VARIABLE_BOUNDS_AVG_FIELD_NUMBER = 30;
410 private double combinedVariableBoundsAvg_ = 0D;
415 @java.lang.Override
417 return ((bitField0_ & 0x00008000) != 0);
418 }
419
423 @java.lang.Override
425 return combinedVariableBoundsAvg_;
426 }
427
429 private double combinedVariableBoundsL2Norm_ = 0D;
434 @java.lang.Override
436 return ((bitField0_ & 0x00010000) != 0);
437 }
438
442 @java.lang.Override
444 return combinedVariableBoundsL2Norm_;
445 }
446
448 private long variableBoundGapsNumFinite_ = 0L;
458 @java.lang.Override
460 return ((bitField0_ & 0x00020000) != 0);
461 }
462
471 @java.lang.Override
473 return variableBoundGapsNumFinite_;
474 }
475
476 public static final int VARIABLE_BOUND_GAPS_MAX_FIELD_NUMBER = 13;
477 private double variableBoundGapsMax_ = 0D;
489 @java.lang.Override
490 public boolean hasVariableBoundGapsMax() {
491 return ((bitField0_ & 0x00040000) != 0);
492 }
493
504 @java.lang.Override
505 public double getVariableBoundGapsMax() {
506 return variableBoundGapsMax_;
507 }
508
509 public static final int VARIABLE_BOUND_GAPS_MIN_FIELD_NUMBER = 14;
510 private double variableBoundGapsMin_ = 0D;
515 @java.lang.Override
516 public boolean hasVariableBoundGapsMin() {
517 return ((bitField0_ & 0x00080000) != 0);
518 }
519
523 @java.lang.Override
524 public double getVariableBoundGapsMin() {
525 return variableBoundGapsMin_;
526 }
527
528 public static final int VARIABLE_BOUND_GAPS_AVG_FIELD_NUMBER = 15;
529 private double variableBoundGapsAvg_ = 0D;
534 @java.lang.Override
535 public boolean hasVariableBoundGapsAvg() {
536 return ((bitField0_ & 0x00100000) != 0);
537 }
538
542 @java.lang.Override
543 public double getVariableBoundGapsAvg() {
544 return variableBoundGapsAvg_;
545 }
546
547 public static final int VARIABLE_BOUND_GAPS_L2_NORM_FIELD_NUMBER = 26;
548 private double variableBoundGapsL2Norm_ = 0D;
553 @java.lang.Override
554 public boolean hasVariableBoundGapsL2Norm() {
555 return ((bitField0_ & 0x00200000) != 0);
556 }
557
561 @java.lang.Override
563 return variableBoundGapsL2Norm_;
564 }
565
566 public static final int OBJECTIVE_VECTOR_ABS_MAX_FIELD_NUMBER = 16;
567 private double objectiveVectorAbsMax_ = 0D;
576 @java.lang.Override
577 public boolean hasObjectiveVectorAbsMax() {
578 return ((bitField0_ & 0x00400000) != 0);
579 }
580
588 @java.lang.Override
589 public double getObjectiveVectorAbsMax() {
590 return objectiveVectorAbsMax_;
591 }
592
593 public static final int OBJECTIVE_VECTOR_ABS_MIN_FIELD_NUMBER = 17;
594 private double objectiveVectorAbsMin_ = 0D;
599 @java.lang.Override
600 public boolean hasObjectiveVectorAbsMin() {
601 return ((bitField0_ & 0x00800000) != 0);
602 }
603
607 @java.lang.Override
608 public double getObjectiveVectorAbsMin() {
609 return objectiveVectorAbsMin_;
610 }
611
612 public static final int OBJECTIVE_VECTOR_ABS_AVG_FIELD_NUMBER = 18;
613 private double objectiveVectorAbsAvg_ = 0D;
618 @java.lang.Override
619 public boolean hasObjectiveVectorAbsAvg() {
620 return ((bitField0_ & 0x01000000) != 0);
621 }
622
626 @java.lang.Override
627 public double getObjectiveVectorAbsAvg() {
628 return objectiveVectorAbsAvg_;
629 }
630
631 public static final int OBJECTIVE_VECTOR_L2_NORM_FIELD_NUMBER = 23;
632 private double objectiveVectorL2Norm_ = 0D;
637 @java.lang.Override
638 public boolean hasObjectiveVectorL2Norm() {
639 return ((bitField0_ & 0x02000000) != 0);
640 }
641
645 @java.lang.Override
646 public double getObjectiveVectorL2Norm() {
647 return objectiveVectorL2Norm_;
648 }
649
650 public static final int OBJECTIVE_MATRIX_NUM_NONZEROS_FIELD_NUMBER = 19;
651 private long objectiveMatrixNumNonzeros_ = 0L;
656 @java.lang.Override
658 return ((bitField0_ & 0x04000000) != 0);
659 }
660
664 @java.lang.Override
666 return objectiveMatrixNumNonzeros_;
667 }
668
669 public static final int OBJECTIVE_MATRIX_ABS_MAX_FIELD_NUMBER = 20;
670 private double objectiveMatrixAbsMax_ = 0D;
681 @java.lang.Override
682 public boolean hasObjectiveMatrixAbsMax() {
683 return ((bitField0_ & 0x08000000) != 0);
684 }
685
695 @java.lang.Override
696 public double getObjectiveMatrixAbsMax() {
697 return objectiveMatrixAbsMax_;
698 }
699
700 public static final int OBJECTIVE_MATRIX_ABS_MIN_FIELD_NUMBER = 21;
701 private double objectiveMatrixAbsMin_ = 0D;
706 @java.lang.Override
707 public boolean hasObjectiveMatrixAbsMin() {
708 return ((bitField0_ & 0x10000000) != 0);
709 }
710
714 @java.lang.Override
715 public double getObjectiveMatrixAbsMin() {
716 return objectiveMatrixAbsMin_;
717 }
718
719 public static final int OBJECTIVE_MATRIX_ABS_AVG_FIELD_NUMBER = 22;
720 private double objectiveMatrixAbsAvg_ = 0D;
725 @java.lang.Override
726 public boolean hasObjectiveMatrixAbsAvg() {
727 return ((bitField0_ & 0x20000000) != 0);
728 }
729
733 @java.lang.Override
734 public double getObjectiveMatrixAbsAvg() {
735 return objectiveMatrixAbsAvg_;
736 }
737
738 public static final int OBJECTIVE_MATRIX_L2_NORM_FIELD_NUMBER = 27;
739 private double objectiveMatrixL2Norm_ = 0D;
744 @java.lang.Override
745 public boolean hasObjectiveMatrixL2Norm() {
746 return ((bitField0_ & 0x40000000) != 0);
747 }
748
752 @java.lang.Override
753 public double getObjectiveMatrixL2Norm() {
754 return objectiveMatrixL2Norm_;
755 }
756
757 private byte memoizedIsInitialized = -1;
758 @java.lang.Override
759 public final boolean isInitialized() {
760 byte isInitialized = memoizedIsInitialized;
761 if (isInitialized == 1) return true;
762 if (isInitialized == 0) return false;
763
764 memoizedIsInitialized = 1;
765 return true;
766 }
767
768 @java.lang.Override
769 public void writeTo(com.google.protobuf.CodedOutputStream output)
770 throws java.io.IOException {
771 if (((bitField0_ & 0x00000001) != 0)) {
772 output.writeInt64(1, numVariables_);
773 }
774 if (((bitField0_ & 0x00000002) != 0)) {
775 output.writeInt64(2, numConstraints_);
776 }
777 if (((bitField0_ & 0x00000004) != 0)) {
778 output.writeDouble(3, constraintMatrixColMinLInfNorm_);
779 }
780 if (((bitField0_ & 0x00000008) != 0)) {
781 output.writeDouble(4, constraintMatrixRowMinLInfNorm_);
782 }
783 if (((bitField0_ & 0x00000010) != 0)) {
784 output.writeInt64(5, constraintMatrixNumNonzeros_);
785 }
786 if (((bitField0_ & 0x00000020) != 0)) {
787 output.writeDouble(6, constraintMatrixAbsMax_);
788 }
789 if (((bitField0_ & 0x00000040) != 0)) {
790 output.writeDouble(7, constraintMatrixAbsMin_);
791 }
792 if (((bitField0_ & 0x00000080) != 0)) {
793 output.writeDouble(8, constraintMatrixAbsAvg_);
794 }
795 if (((bitField0_ & 0x00000200) != 0)) {
796 output.writeDouble(9, combinedBoundsMax_);
797 }
798 if (((bitField0_ & 0x00000400) != 0)) {
799 output.writeDouble(10, combinedBoundsMin_);
800 }
801 if (((bitField0_ & 0x00000800) != 0)) {
802 output.writeDouble(11, combinedBoundsAvg_);
803 }
804 if (((bitField0_ & 0x00020000) != 0)) {
805 output.writeInt64(12, variableBoundGapsNumFinite_);
806 }
807 if (((bitField0_ & 0x00040000) != 0)) {
808 output.writeDouble(13, variableBoundGapsMax_);
809 }
810 if (((bitField0_ & 0x00080000) != 0)) {
811 output.writeDouble(14, variableBoundGapsMin_);
812 }
813 if (((bitField0_ & 0x00100000) != 0)) {
814 output.writeDouble(15, variableBoundGapsAvg_);
815 }
816 if (((bitField0_ & 0x00400000) != 0)) {
817 output.writeDouble(16, objectiveVectorAbsMax_);
818 }
819 if (((bitField0_ & 0x00800000) != 0)) {
820 output.writeDouble(17, objectiveVectorAbsMin_);
821 }
822 if (((bitField0_ & 0x01000000) != 0)) {
823 output.writeDouble(18, objectiveVectorAbsAvg_);
824 }
825 if (((bitField0_ & 0x04000000) != 0)) {
826 output.writeInt64(19, objectiveMatrixNumNonzeros_);
827 }
828 if (((bitField0_ & 0x08000000) != 0)) {
829 output.writeDouble(20, objectiveMatrixAbsMax_);
830 }
831 if (((bitField0_ & 0x10000000) != 0)) {
832 output.writeDouble(21, objectiveMatrixAbsMin_);
833 }
834 if (((bitField0_ & 0x20000000) != 0)) {
835 output.writeDouble(22, objectiveMatrixAbsAvg_);
836 }
837 if (((bitField0_ & 0x02000000) != 0)) {
838 output.writeDouble(23, objectiveVectorL2Norm_);
839 }
840 if (((bitField0_ & 0x00001000) != 0)) {
841 output.writeDouble(24, combinedBoundsL2Norm_);
842 }
843 if (((bitField0_ & 0x00000100) != 0)) {
844 output.writeDouble(25, constraintMatrixL2Norm_);
845 }
846 if (((bitField0_ & 0x00200000) != 0)) {
847 output.writeDouble(26, variableBoundGapsL2Norm_);
848 }
849 if (((bitField0_ & 0x40000000) != 0)) {
850 output.writeDouble(27, objectiveMatrixL2Norm_);
851 }
852 if (((bitField0_ & 0x00002000) != 0)) {
853 output.writeDouble(28, combinedVariableBoundsMax_);
854 }
855 if (((bitField0_ & 0x00004000) != 0)) {
856 output.writeDouble(29, combinedVariableBoundsMin_);
857 }
858 if (((bitField0_ & 0x00008000) != 0)) {
859 output.writeDouble(30, combinedVariableBoundsAvg_);
860 }
861 if (((bitField0_ & 0x00010000) != 0)) {
862 output.writeDouble(31, combinedVariableBoundsL2Norm_);
863 }
864 getUnknownFields().writeTo(output);
865 }
866
867 @java.lang.Override
868 public int getSerializedSize() {
869 int size = memoizedSize;
870 if (size != -1) return size;
871
872 size = 0;
873 if (((bitField0_ & 0x00000001) != 0)) {
874 size += com.google.protobuf.CodedOutputStream
875 .computeInt64Size(1, numVariables_);
876 }
877 if (((bitField0_ & 0x00000002) != 0)) {
878 size += com.google.protobuf.CodedOutputStream
879 .computeInt64Size(2, numConstraints_);
880 }
881 if (((bitField0_ & 0x00000004) != 0)) {
882 size += com.google.protobuf.CodedOutputStream
883 .computeDoubleSize(3, constraintMatrixColMinLInfNorm_);
884 }
885 if (((bitField0_ & 0x00000008) != 0)) {
886 size += com.google.protobuf.CodedOutputStream
887 .computeDoubleSize(4, constraintMatrixRowMinLInfNorm_);
888 }
889 if (((bitField0_ & 0x00000010) != 0)) {
890 size += com.google.protobuf.CodedOutputStream
891 .computeInt64Size(5, constraintMatrixNumNonzeros_);
892 }
893 if (((bitField0_ & 0x00000020) != 0)) {
894 size += com.google.protobuf.CodedOutputStream
895 .computeDoubleSize(6, constraintMatrixAbsMax_);
896 }
897 if (((bitField0_ & 0x00000040) != 0)) {
898 size += com.google.protobuf.CodedOutputStream
899 .computeDoubleSize(7, constraintMatrixAbsMin_);
900 }
901 if (((bitField0_ & 0x00000080) != 0)) {
902 size += com.google.protobuf.CodedOutputStream
903 .computeDoubleSize(8, constraintMatrixAbsAvg_);
904 }
905 if (((bitField0_ & 0x00000200) != 0)) {
906 size += com.google.protobuf.CodedOutputStream
907 .computeDoubleSize(9, combinedBoundsMax_);
908 }
909 if (((bitField0_ & 0x00000400) != 0)) {
910 size += com.google.protobuf.CodedOutputStream
911 .computeDoubleSize(10, combinedBoundsMin_);
912 }
913 if (((bitField0_ & 0x00000800) != 0)) {
914 size += com.google.protobuf.CodedOutputStream
915 .computeDoubleSize(11, combinedBoundsAvg_);
916 }
917 if (((bitField0_ & 0x00020000) != 0)) {
918 size += com.google.protobuf.CodedOutputStream
919 .computeInt64Size(12, variableBoundGapsNumFinite_);
920 }
921 if (((bitField0_ & 0x00040000) != 0)) {
922 size += com.google.protobuf.CodedOutputStream
923 .computeDoubleSize(13, variableBoundGapsMax_);
924 }
925 if (((bitField0_ & 0x00080000) != 0)) {
926 size += com.google.protobuf.CodedOutputStream
927 .computeDoubleSize(14, variableBoundGapsMin_);
928 }
929 if (((bitField0_ & 0x00100000) != 0)) {
930 size += com.google.protobuf.CodedOutputStream
931 .computeDoubleSize(15, variableBoundGapsAvg_);
932 }
933 if (((bitField0_ & 0x00400000) != 0)) {
934 size += com.google.protobuf.CodedOutputStream
935 .computeDoubleSize(16, objectiveVectorAbsMax_);
936 }
937 if (((bitField0_ & 0x00800000) != 0)) {
938 size += com.google.protobuf.CodedOutputStream
939 .computeDoubleSize(17, objectiveVectorAbsMin_);
940 }
941 if (((bitField0_ & 0x01000000) != 0)) {
942 size += com.google.protobuf.CodedOutputStream
943 .computeDoubleSize(18, objectiveVectorAbsAvg_);
944 }
945 if (((bitField0_ & 0x04000000) != 0)) {
946 size += com.google.protobuf.CodedOutputStream
947 .computeInt64Size(19, objectiveMatrixNumNonzeros_);
948 }
949 if (((bitField0_ & 0x08000000) != 0)) {
950 size += com.google.protobuf.CodedOutputStream
951 .computeDoubleSize(20, objectiveMatrixAbsMax_);
952 }
953 if (((bitField0_ & 0x10000000) != 0)) {
954 size += com.google.protobuf.CodedOutputStream
955 .computeDoubleSize(21, objectiveMatrixAbsMin_);
956 }
957 if (((bitField0_ & 0x20000000) != 0)) {
958 size += com.google.protobuf.CodedOutputStream
959 .computeDoubleSize(22, objectiveMatrixAbsAvg_);
960 }
961 if (((bitField0_ & 0x02000000) != 0)) {
962 size += com.google.protobuf.CodedOutputStream
963 .computeDoubleSize(23, objectiveVectorL2Norm_);
964 }
965 if (((bitField0_ & 0x00001000) != 0)) {
966 size += com.google.protobuf.CodedOutputStream
967 .computeDoubleSize(24, combinedBoundsL2Norm_);
968 }
969 if (((bitField0_ & 0x00000100) != 0)) {
970 size += com.google.protobuf.CodedOutputStream
971 .computeDoubleSize(25, constraintMatrixL2Norm_);
972 }
973 if (((bitField0_ & 0x00200000) != 0)) {
974 size += com.google.protobuf.CodedOutputStream
975 .computeDoubleSize(26, variableBoundGapsL2Norm_);
976 }
977 if (((bitField0_ & 0x40000000) != 0)) {
978 size += com.google.protobuf.CodedOutputStream
979 .computeDoubleSize(27, objectiveMatrixL2Norm_);
980 }
981 if (((bitField0_ & 0x00002000) != 0)) {
982 size += com.google.protobuf.CodedOutputStream
983 .computeDoubleSize(28, combinedVariableBoundsMax_);
984 }
985 if (((bitField0_ & 0x00004000) != 0)) {
986 size += com.google.protobuf.CodedOutputStream
987 .computeDoubleSize(29, combinedVariableBoundsMin_);
988 }
989 if (((bitField0_ & 0x00008000) != 0)) {
990 size += com.google.protobuf.CodedOutputStream
991 .computeDoubleSize(30, combinedVariableBoundsAvg_);
992 }
993 if (((bitField0_ & 0x00010000) != 0)) {
994 size += com.google.protobuf.CodedOutputStream
995 .computeDoubleSize(31, combinedVariableBoundsL2Norm_);
996 }
997 size += getUnknownFields().getSerializedSize();
998 memoizedSize = size;
999 return size;
1000 }
1001
1002 @java.lang.Override
1003 public boolean equals(final java.lang.Object obj) {
1004 if (obj == this) {
1005 return true;
1006 }
1007 if (!(obj instanceof com.google.ortools.pdlp.QuadraticProgramStats)) {
1008 return super.equals(obj);
1009 }
1010 com.google.ortools.pdlp.QuadraticProgramStats other = (com.google.ortools.pdlp.QuadraticProgramStats) obj;
1011
1012 if (hasNumVariables() != other.hasNumVariables()) return false;
1013 if (hasNumVariables()) {
1014 if (getNumVariables()
1015 != other.getNumVariables()) return false;
1016 }
1017 if (hasNumConstraints() != other.hasNumConstraints()) return false;
1018 if (hasNumConstraints()) {
1019 if (getNumConstraints()
1020 != other.getNumConstraints()) return false;
1021 }
1024 if (java.lang.Double.doubleToLongBits(getConstraintMatrixColMinLInfNorm())
1025 != java.lang.Double.doubleToLongBits(
1026 other.getConstraintMatrixColMinLInfNorm())) return false;
1027 }
1030 if (java.lang.Double.doubleToLongBits(getConstraintMatrixRowMinLInfNorm())
1031 != java.lang.Double.doubleToLongBits(
1032 other.getConstraintMatrixRowMinLInfNorm())) return false;
1033 }
1037 != other.getConstraintMatrixNumNonzeros()) return false;
1038 }
1039 if (hasConstraintMatrixAbsMax() != other.hasConstraintMatrixAbsMax()) return false;
1041 if (java.lang.Double.doubleToLongBits(getConstraintMatrixAbsMax())
1042 != java.lang.Double.doubleToLongBits(
1043 other.getConstraintMatrixAbsMax())) return false;
1044 }
1045 if (hasConstraintMatrixAbsMin() != other.hasConstraintMatrixAbsMin()) return false;
1047 if (java.lang.Double.doubleToLongBits(getConstraintMatrixAbsMin())
1048 != java.lang.Double.doubleToLongBits(
1049 other.getConstraintMatrixAbsMin())) return false;
1050 }
1051 if (hasConstraintMatrixAbsAvg() != other.hasConstraintMatrixAbsAvg()) return false;
1053 if (java.lang.Double.doubleToLongBits(getConstraintMatrixAbsAvg())
1054 != java.lang.Double.doubleToLongBits(
1055 other.getConstraintMatrixAbsAvg())) return false;
1056 }
1057 if (hasConstraintMatrixL2Norm() != other.hasConstraintMatrixL2Norm()) return false;
1059 if (java.lang.Double.doubleToLongBits(getConstraintMatrixL2Norm())
1060 != java.lang.Double.doubleToLongBits(
1061 other.getConstraintMatrixL2Norm())) return false;
1062 }
1063 if (hasCombinedBoundsMax() != other.hasCombinedBoundsMax()) return false;
1064 if (hasCombinedBoundsMax()) {
1065 if (java.lang.Double.doubleToLongBits(getCombinedBoundsMax())
1066 != java.lang.Double.doubleToLongBits(
1067 other.getCombinedBoundsMax())) return false;
1068 }
1069 if (hasCombinedBoundsMin() != other.hasCombinedBoundsMin()) return false;
1070 if (hasCombinedBoundsMin()) {
1071 if (java.lang.Double.doubleToLongBits(getCombinedBoundsMin())
1072 != java.lang.Double.doubleToLongBits(
1073 other.getCombinedBoundsMin())) return false;
1074 }
1075 if (hasCombinedBoundsAvg() != other.hasCombinedBoundsAvg()) return false;
1076 if (hasCombinedBoundsAvg()) {
1077 if (java.lang.Double.doubleToLongBits(getCombinedBoundsAvg())
1078 != java.lang.Double.doubleToLongBits(
1079 other.getCombinedBoundsAvg())) return false;
1080 }
1081 if (hasCombinedBoundsL2Norm() != other.hasCombinedBoundsL2Norm()) return false;
1083 if (java.lang.Double.doubleToLongBits(getCombinedBoundsL2Norm())
1084 != java.lang.Double.doubleToLongBits(
1085 other.getCombinedBoundsL2Norm())) return false;
1086 }
1087 if (hasCombinedVariableBoundsMax() != other.hasCombinedVariableBoundsMax()) return false;
1089 if (java.lang.Double.doubleToLongBits(getCombinedVariableBoundsMax())
1090 != java.lang.Double.doubleToLongBits(
1091 other.getCombinedVariableBoundsMax())) return false;
1092 }
1093 if (hasCombinedVariableBoundsMin() != other.hasCombinedVariableBoundsMin()) return false;
1095 if (java.lang.Double.doubleToLongBits(getCombinedVariableBoundsMin())
1096 != java.lang.Double.doubleToLongBits(
1097 other.getCombinedVariableBoundsMin())) return false;
1098 }
1099 if (hasCombinedVariableBoundsAvg() != other.hasCombinedVariableBoundsAvg()) return false;
1101 if (java.lang.Double.doubleToLongBits(getCombinedVariableBoundsAvg())
1102 != java.lang.Double.doubleToLongBits(
1103 other.getCombinedVariableBoundsAvg())) return false;
1104 }
1107 if (java.lang.Double.doubleToLongBits(getCombinedVariableBoundsL2Norm())
1108 != java.lang.Double.doubleToLongBits(
1109 other.getCombinedVariableBoundsL2Norm())) return false;
1110 }
1111 if (hasVariableBoundGapsNumFinite() != other.hasVariableBoundGapsNumFinite()) return false;
1114 != other.getVariableBoundGapsNumFinite()) return false;
1115 }
1116 if (hasVariableBoundGapsMax() != other.hasVariableBoundGapsMax()) return false;
1118 if (java.lang.Double.doubleToLongBits(getVariableBoundGapsMax())
1119 != java.lang.Double.doubleToLongBits(
1120 other.getVariableBoundGapsMax())) return false;
1121 }
1122 if (hasVariableBoundGapsMin() != other.hasVariableBoundGapsMin()) return false;
1124 if (java.lang.Double.doubleToLongBits(getVariableBoundGapsMin())
1125 != java.lang.Double.doubleToLongBits(
1126 other.getVariableBoundGapsMin())) return false;
1127 }
1128 if (hasVariableBoundGapsAvg() != other.hasVariableBoundGapsAvg()) return false;
1130 if (java.lang.Double.doubleToLongBits(getVariableBoundGapsAvg())
1131 != java.lang.Double.doubleToLongBits(
1132 other.getVariableBoundGapsAvg())) return false;
1133 }
1134 if (hasVariableBoundGapsL2Norm() != other.hasVariableBoundGapsL2Norm()) return false;
1136 if (java.lang.Double.doubleToLongBits(getVariableBoundGapsL2Norm())
1137 != java.lang.Double.doubleToLongBits(
1138 other.getVariableBoundGapsL2Norm())) return false;
1139 }
1140 if (hasObjectiveVectorAbsMax() != other.hasObjectiveVectorAbsMax()) return false;
1142 if (java.lang.Double.doubleToLongBits(getObjectiveVectorAbsMax())
1143 != java.lang.Double.doubleToLongBits(
1144 other.getObjectiveVectorAbsMax())) return false;
1145 }
1146 if (hasObjectiveVectorAbsMin() != other.hasObjectiveVectorAbsMin()) return false;
1148 if (java.lang.Double.doubleToLongBits(getObjectiveVectorAbsMin())
1149 != java.lang.Double.doubleToLongBits(
1150 other.getObjectiveVectorAbsMin())) return false;
1151 }
1152 if (hasObjectiveVectorAbsAvg() != other.hasObjectiveVectorAbsAvg()) return false;
1154 if (java.lang.Double.doubleToLongBits(getObjectiveVectorAbsAvg())
1155 != java.lang.Double.doubleToLongBits(
1156 other.getObjectiveVectorAbsAvg())) return false;
1157 }
1158 if (hasObjectiveVectorL2Norm() != other.hasObjectiveVectorL2Norm()) return false;
1160 if (java.lang.Double.doubleToLongBits(getObjectiveVectorL2Norm())
1161 != java.lang.Double.doubleToLongBits(
1162 other.getObjectiveVectorL2Norm())) return false;
1163 }
1164 if (hasObjectiveMatrixNumNonzeros() != other.hasObjectiveMatrixNumNonzeros()) return false;
1167 != other.getObjectiveMatrixNumNonzeros()) return false;
1168 }
1169 if (hasObjectiveMatrixAbsMax() != other.hasObjectiveMatrixAbsMax()) return false;
1171 if (java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsMax())
1172 != java.lang.Double.doubleToLongBits(
1173 other.getObjectiveMatrixAbsMax())) return false;
1174 }
1175 if (hasObjectiveMatrixAbsMin() != other.hasObjectiveMatrixAbsMin()) return false;
1177 if (java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsMin())
1178 != java.lang.Double.doubleToLongBits(
1179 other.getObjectiveMatrixAbsMin())) return false;
1180 }
1181 if (hasObjectiveMatrixAbsAvg() != other.hasObjectiveMatrixAbsAvg()) return false;
1183 if (java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsAvg())
1184 != java.lang.Double.doubleToLongBits(
1185 other.getObjectiveMatrixAbsAvg())) return false;
1186 }
1187 if (hasObjectiveMatrixL2Norm() != other.hasObjectiveMatrixL2Norm()) return false;
1189 if (java.lang.Double.doubleToLongBits(getObjectiveMatrixL2Norm())
1190 != java.lang.Double.doubleToLongBits(
1191 other.getObjectiveMatrixL2Norm())) return false;
1192 }
1193 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1194 return true;
1195 }
1196
1197 @java.lang.Override
1198 public int hashCode() {
1199 if (memoizedHashCode != 0) {
1200 return memoizedHashCode;
1201 }
1202 int hash = 41;
1203 hash = (19 * hash) + getDescriptor().hashCode();
1204 if (hasNumVariables()) {
1205 hash = (37 * hash) + NUM_VARIABLES_FIELD_NUMBER;
1206 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1207 getNumVariables());
1208 }
1209 if (hasNumConstraints()) {
1210 hash = (37 * hash) + NUM_CONSTRAINTS_FIELD_NUMBER;
1211 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1213 }
1216 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1217 java.lang.Double.doubleToLongBits(getConstraintMatrixColMinLInfNorm()));
1218 }
1221 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1222 java.lang.Double.doubleToLongBits(getConstraintMatrixRowMinLInfNorm()));
1223 }
1226 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1228 }
1230 hash = (37 * hash) + CONSTRAINT_MATRIX_ABS_MAX_FIELD_NUMBER;
1231 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1232 java.lang.Double.doubleToLongBits(getConstraintMatrixAbsMax()));
1233 }
1235 hash = (37 * hash) + CONSTRAINT_MATRIX_ABS_MIN_FIELD_NUMBER;
1236 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1237 java.lang.Double.doubleToLongBits(getConstraintMatrixAbsMin()));
1238 }
1240 hash = (37 * hash) + CONSTRAINT_MATRIX_ABS_AVG_FIELD_NUMBER;
1241 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1242 java.lang.Double.doubleToLongBits(getConstraintMatrixAbsAvg()));
1243 }
1245 hash = (37 * hash) + CONSTRAINT_MATRIX_L2_NORM_FIELD_NUMBER;
1246 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1247 java.lang.Double.doubleToLongBits(getConstraintMatrixL2Norm()));
1248 }
1249 if (hasCombinedBoundsMax()) {
1250 hash = (37 * hash) + COMBINED_BOUNDS_MAX_FIELD_NUMBER;
1251 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1252 java.lang.Double.doubleToLongBits(getCombinedBoundsMax()));
1253 }
1254 if (hasCombinedBoundsMin()) {
1255 hash = (37 * hash) + COMBINED_BOUNDS_MIN_FIELD_NUMBER;
1256 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1257 java.lang.Double.doubleToLongBits(getCombinedBoundsMin()));
1258 }
1259 if (hasCombinedBoundsAvg()) {
1260 hash = (37 * hash) + COMBINED_BOUNDS_AVG_FIELD_NUMBER;
1261 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1262 java.lang.Double.doubleToLongBits(getCombinedBoundsAvg()));
1263 }
1265 hash = (37 * hash) + COMBINED_BOUNDS_L2_NORM_FIELD_NUMBER;
1266 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1267 java.lang.Double.doubleToLongBits(getCombinedBoundsL2Norm()));
1268 }
1270 hash = (37 * hash) + COMBINED_VARIABLE_BOUNDS_MAX_FIELD_NUMBER;
1271 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1272 java.lang.Double.doubleToLongBits(getCombinedVariableBoundsMax()));
1273 }
1275 hash = (37 * hash) + COMBINED_VARIABLE_BOUNDS_MIN_FIELD_NUMBER;
1276 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1277 java.lang.Double.doubleToLongBits(getCombinedVariableBoundsMin()));
1278 }
1280 hash = (37 * hash) + COMBINED_VARIABLE_BOUNDS_AVG_FIELD_NUMBER;
1281 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1282 java.lang.Double.doubleToLongBits(getCombinedVariableBoundsAvg()));
1283 }
1286 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1287 java.lang.Double.doubleToLongBits(getCombinedVariableBoundsL2Norm()));
1288 }
1291 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1293 }
1295 hash = (37 * hash) + VARIABLE_BOUND_GAPS_MAX_FIELD_NUMBER;
1296 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1297 java.lang.Double.doubleToLongBits(getVariableBoundGapsMax()));
1298 }
1300 hash = (37 * hash) + VARIABLE_BOUND_GAPS_MIN_FIELD_NUMBER;
1301 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1302 java.lang.Double.doubleToLongBits(getVariableBoundGapsMin()));
1303 }
1305 hash = (37 * hash) + VARIABLE_BOUND_GAPS_AVG_FIELD_NUMBER;
1306 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1307 java.lang.Double.doubleToLongBits(getVariableBoundGapsAvg()));
1308 }
1310 hash = (37 * hash) + VARIABLE_BOUND_GAPS_L2_NORM_FIELD_NUMBER;
1311 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1312 java.lang.Double.doubleToLongBits(getVariableBoundGapsL2Norm()));
1313 }
1315 hash = (37 * hash) + OBJECTIVE_VECTOR_ABS_MAX_FIELD_NUMBER;
1316 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1317 java.lang.Double.doubleToLongBits(getObjectiveVectorAbsMax()));
1318 }
1320 hash = (37 * hash) + OBJECTIVE_VECTOR_ABS_MIN_FIELD_NUMBER;
1321 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1322 java.lang.Double.doubleToLongBits(getObjectiveVectorAbsMin()));
1323 }
1325 hash = (37 * hash) + OBJECTIVE_VECTOR_ABS_AVG_FIELD_NUMBER;
1326 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1327 java.lang.Double.doubleToLongBits(getObjectiveVectorAbsAvg()));
1328 }
1330 hash = (37 * hash) + OBJECTIVE_VECTOR_L2_NORM_FIELD_NUMBER;
1331 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1332 java.lang.Double.doubleToLongBits(getObjectiveVectorL2Norm()));
1333 }
1335 hash = (37 * hash) + OBJECTIVE_MATRIX_NUM_NONZEROS_FIELD_NUMBER;
1336 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1338 }
1340 hash = (37 * hash) + OBJECTIVE_MATRIX_ABS_MAX_FIELD_NUMBER;
1341 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1342 java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsMax()));
1343 }
1345 hash = (37 * hash) + OBJECTIVE_MATRIX_ABS_MIN_FIELD_NUMBER;
1346 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1347 java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsMin()));
1348 }
1350 hash = (37 * hash) + OBJECTIVE_MATRIX_ABS_AVG_FIELD_NUMBER;
1351 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1352 java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsAvg()));
1353 }
1355 hash = (37 * hash) + OBJECTIVE_MATRIX_L2_NORM_FIELD_NUMBER;
1356 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1357 java.lang.Double.doubleToLongBits(getObjectiveMatrixL2Norm()));
1358 }
1359 hash = (29 * hash) + getUnknownFields().hashCode();
1360 memoizedHashCode = hash;
1361 return hash;
1362 }
1363
1365 java.nio.ByteBuffer data)
1366 throws com.google.protobuf.InvalidProtocolBufferException {
1367 return PARSER.parseFrom(data);
1368 }
1370 java.nio.ByteBuffer data,
1371 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1372 throws com.google.protobuf.InvalidProtocolBufferException {
1373 return PARSER.parseFrom(data, extensionRegistry);
1374 }
1376 com.google.protobuf.ByteString data)
1377 throws com.google.protobuf.InvalidProtocolBufferException {
1378 return PARSER.parseFrom(data);
1379 }
1381 com.google.protobuf.ByteString data,
1382 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1383 throws com.google.protobuf.InvalidProtocolBufferException {
1384 return PARSER.parseFrom(data, extensionRegistry);
1385 }
1387 throws com.google.protobuf.InvalidProtocolBufferException {
1388 return PARSER.parseFrom(data);
1389 }
1391 byte[] data,
1392 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1393 throws com.google.protobuf.InvalidProtocolBufferException {
1394 return PARSER.parseFrom(data, extensionRegistry);
1395 }
1396 public static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(java.io.InputStream input)
1397 throws java.io.IOException {
1398 return com.google.protobuf.GeneratedMessage
1399 .parseWithIOException(PARSER, input);
1400 }
1402 java.io.InputStream input,
1403 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1404 throws java.io.IOException {
1405 return com.google.protobuf.GeneratedMessage
1406 .parseWithIOException(PARSER, input, extensionRegistry);
1407 }
1408
1410 throws java.io.IOException {
1411 return com.google.protobuf.GeneratedMessage
1412 .parseDelimitedWithIOException(PARSER, input);
1413 }
1414
1416 java.io.InputStream input,
1417 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1418 throws java.io.IOException {
1419 return com.google.protobuf.GeneratedMessage
1420 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1421 }
1423 com.google.protobuf.CodedInputStream input)
1424 throws java.io.IOException {
1425 return com.google.protobuf.GeneratedMessage
1426 .parseWithIOException(PARSER, input);
1427 }
1429 com.google.protobuf.CodedInputStream input,
1430 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1431 throws java.io.IOException {
1432 return com.google.protobuf.GeneratedMessage
1433 .parseWithIOException(PARSER, input, extensionRegistry);
1434 }
1435
1436 @java.lang.Override
1437 public Builder newBuilderForType() { return newBuilder(); }
1438 public static Builder newBuilder() {
1439 return DEFAULT_INSTANCE.toBuilder();
1440 }
1441 public static Builder newBuilder(com.google.ortools.pdlp.QuadraticProgramStats prototype) {
1442 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1443 }
1444 @java.lang.Override
1446 return this == DEFAULT_INSTANCE
1447 ? new Builder() : new Builder().mergeFrom(this);
1448 }
1449
1450 @java.lang.Override
1452 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1453 Builder builder = new Builder(parent);
1454 return builder;
1455 }
1456
1463 public static final class Builder extends
1464 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
1465 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.QuadraticProgramStats)
1467 public static final com.google.protobuf.Descriptors.Descriptor
1469 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_descriptor;
1470 }
1471
1472 @java.lang.Override
1473 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1475 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_fieldAccessorTable
1476 .ensureFieldAccessorsInitialized(
1477 com.google.ortools.pdlp.QuadraticProgramStats.class, com.google.ortools.pdlp.QuadraticProgramStats.Builder.class);
1478 }
1479
1480 // Construct using com.google.ortools.pdlp.QuadraticProgramStats.newBuilder()
1481 private Builder() {
1482
1483 }
1484
1485 private Builder(
1486 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1487 super(parent);
1488
1489 }
1490 @java.lang.Override
1491 public Builder clear() {
1492 super.clear();
1493 bitField0_ = 0;
1494 numVariables_ = 0L;
1495 numConstraints_ = 0L;
1496 constraintMatrixColMinLInfNorm_ = 0D;
1497 constraintMatrixRowMinLInfNorm_ = 0D;
1498 constraintMatrixNumNonzeros_ = 0L;
1499 constraintMatrixAbsMax_ = 0D;
1500 constraintMatrixAbsMin_ = 0D;
1501 constraintMatrixAbsAvg_ = 0D;
1502 constraintMatrixL2Norm_ = 0D;
1503 combinedBoundsMax_ = 0D;
1504 combinedBoundsMin_ = 0D;
1505 combinedBoundsAvg_ = 0D;
1506 combinedBoundsL2Norm_ = 0D;
1507 combinedVariableBoundsMax_ = 0D;
1508 combinedVariableBoundsMin_ = 0D;
1509 combinedVariableBoundsAvg_ = 0D;
1510 combinedVariableBoundsL2Norm_ = 0D;
1511 variableBoundGapsNumFinite_ = 0L;
1512 variableBoundGapsMax_ = 0D;
1513 variableBoundGapsMin_ = 0D;
1514 variableBoundGapsAvg_ = 0D;
1515 variableBoundGapsL2Norm_ = 0D;
1516 objectiveVectorAbsMax_ = 0D;
1517 objectiveVectorAbsMin_ = 0D;
1518 objectiveVectorAbsAvg_ = 0D;
1519 objectiveVectorL2Norm_ = 0D;
1520 objectiveMatrixNumNonzeros_ = 0L;
1521 objectiveMatrixAbsMax_ = 0D;
1522 objectiveMatrixAbsMin_ = 0D;
1523 objectiveMatrixAbsAvg_ = 0D;
1524 objectiveMatrixL2Norm_ = 0D;
1525 return this;
1526 }
1527
1528 @java.lang.Override
1529 public com.google.protobuf.Descriptors.Descriptor
1531 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_descriptor;
1532 }
1533
1534 @java.lang.Override
1536 return com.google.ortools.pdlp.QuadraticProgramStats.getDefaultInstance();
1537 }
1538
1539 @java.lang.Override
1542 if (!result.isInitialized()) {
1543 throw newUninitializedMessageException(result);
1544 }
1545 return result;
1546 }
1547
1548 @java.lang.Override
1550 com.google.ortools.pdlp.QuadraticProgramStats result = new com.google.ortools.pdlp.QuadraticProgramStats(this);
1551 if (bitField0_ != 0) { buildPartial0(result); }
1552 onBuilt();
1553 return result;
1554 }
1555
1556 private void buildPartial0(com.google.ortools.pdlp.QuadraticProgramStats result) {
1557 int from_bitField0_ = bitField0_;
1558 int to_bitField0_ = 0;
1559 if (((from_bitField0_ & 0x00000001) != 0)) {
1560 result.numVariables_ = numVariables_;
1561 to_bitField0_ |= 0x00000001;
1562 }
1563 if (((from_bitField0_ & 0x00000002) != 0)) {
1564 result.numConstraints_ = numConstraints_;
1565 to_bitField0_ |= 0x00000002;
1566 }
1567 if (((from_bitField0_ & 0x00000004) != 0)) {
1568 result.constraintMatrixColMinLInfNorm_ = constraintMatrixColMinLInfNorm_;
1569 to_bitField0_ |= 0x00000004;
1570 }
1571 if (((from_bitField0_ & 0x00000008) != 0)) {
1572 result.constraintMatrixRowMinLInfNorm_ = constraintMatrixRowMinLInfNorm_;
1573 to_bitField0_ |= 0x00000008;
1574 }
1575 if (((from_bitField0_ & 0x00000010) != 0)) {
1576 result.constraintMatrixNumNonzeros_ = constraintMatrixNumNonzeros_;
1577 to_bitField0_ |= 0x00000010;
1578 }
1579 if (((from_bitField0_ & 0x00000020) != 0)) {
1580 result.constraintMatrixAbsMax_ = constraintMatrixAbsMax_;
1581 to_bitField0_ |= 0x00000020;
1582 }
1583 if (((from_bitField0_ & 0x00000040) != 0)) {
1584 result.constraintMatrixAbsMin_ = constraintMatrixAbsMin_;
1585 to_bitField0_ |= 0x00000040;
1586 }
1587 if (((from_bitField0_ & 0x00000080) != 0)) {
1588 result.constraintMatrixAbsAvg_ = constraintMatrixAbsAvg_;
1589 to_bitField0_ |= 0x00000080;
1590 }
1591 if (((from_bitField0_ & 0x00000100) != 0)) {
1592 result.constraintMatrixL2Norm_ = constraintMatrixL2Norm_;
1593 to_bitField0_ |= 0x00000100;
1594 }
1595 if (((from_bitField0_ & 0x00000200) != 0)) {
1596 result.combinedBoundsMax_ = combinedBoundsMax_;
1597 to_bitField0_ |= 0x00000200;
1598 }
1599 if (((from_bitField0_ & 0x00000400) != 0)) {
1600 result.combinedBoundsMin_ = combinedBoundsMin_;
1601 to_bitField0_ |= 0x00000400;
1602 }
1603 if (((from_bitField0_ & 0x00000800) != 0)) {
1604 result.combinedBoundsAvg_ = combinedBoundsAvg_;
1605 to_bitField0_ |= 0x00000800;
1606 }
1607 if (((from_bitField0_ & 0x00001000) != 0)) {
1608 result.combinedBoundsL2Norm_ = combinedBoundsL2Norm_;
1609 to_bitField0_ |= 0x00001000;
1610 }
1611 if (((from_bitField0_ & 0x00002000) != 0)) {
1612 result.combinedVariableBoundsMax_ = combinedVariableBoundsMax_;
1613 to_bitField0_ |= 0x00002000;
1614 }
1615 if (((from_bitField0_ & 0x00004000) != 0)) {
1616 result.combinedVariableBoundsMin_ = combinedVariableBoundsMin_;
1617 to_bitField0_ |= 0x00004000;
1618 }
1619 if (((from_bitField0_ & 0x00008000) != 0)) {
1620 result.combinedVariableBoundsAvg_ = combinedVariableBoundsAvg_;
1621 to_bitField0_ |= 0x00008000;
1622 }
1623 if (((from_bitField0_ & 0x00010000) != 0)) {
1624 result.combinedVariableBoundsL2Norm_ = combinedVariableBoundsL2Norm_;
1625 to_bitField0_ |= 0x00010000;
1626 }
1627 if (((from_bitField0_ & 0x00020000) != 0)) {
1628 result.variableBoundGapsNumFinite_ = variableBoundGapsNumFinite_;
1629 to_bitField0_ |= 0x00020000;
1630 }
1631 if (((from_bitField0_ & 0x00040000) != 0)) {
1632 result.variableBoundGapsMax_ = variableBoundGapsMax_;
1633 to_bitField0_ |= 0x00040000;
1634 }
1635 if (((from_bitField0_ & 0x00080000) != 0)) {
1636 result.variableBoundGapsMin_ = variableBoundGapsMin_;
1637 to_bitField0_ |= 0x00080000;
1638 }
1639 if (((from_bitField0_ & 0x00100000) != 0)) {
1640 result.variableBoundGapsAvg_ = variableBoundGapsAvg_;
1641 to_bitField0_ |= 0x00100000;
1642 }
1643 if (((from_bitField0_ & 0x00200000) != 0)) {
1644 result.variableBoundGapsL2Norm_ = variableBoundGapsL2Norm_;
1645 to_bitField0_ |= 0x00200000;
1646 }
1647 if (((from_bitField0_ & 0x00400000) != 0)) {
1648 result.objectiveVectorAbsMax_ = objectiveVectorAbsMax_;
1649 to_bitField0_ |= 0x00400000;
1650 }
1651 if (((from_bitField0_ & 0x00800000) != 0)) {
1652 result.objectiveVectorAbsMin_ = objectiveVectorAbsMin_;
1653 to_bitField0_ |= 0x00800000;
1654 }
1655 if (((from_bitField0_ & 0x01000000) != 0)) {
1656 result.objectiveVectorAbsAvg_ = objectiveVectorAbsAvg_;
1657 to_bitField0_ |= 0x01000000;
1658 }
1659 if (((from_bitField0_ & 0x02000000) != 0)) {
1660 result.objectiveVectorL2Norm_ = objectiveVectorL2Norm_;
1661 to_bitField0_ |= 0x02000000;
1662 }
1663 if (((from_bitField0_ & 0x04000000) != 0)) {
1664 result.objectiveMatrixNumNonzeros_ = objectiveMatrixNumNonzeros_;
1665 to_bitField0_ |= 0x04000000;
1666 }
1667 if (((from_bitField0_ & 0x08000000) != 0)) {
1668 result.objectiveMatrixAbsMax_ = objectiveMatrixAbsMax_;
1669 to_bitField0_ |= 0x08000000;
1670 }
1671 if (((from_bitField0_ & 0x10000000) != 0)) {
1672 result.objectiveMatrixAbsMin_ = objectiveMatrixAbsMin_;
1673 to_bitField0_ |= 0x10000000;
1674 }
1675 if (((from_bitField0_ & 0x20000000) != 0)) {
1676 result.objectiveMatrixAbsAvg_ = objectiveMatrixAbsAvg_;
1677 to_bitField0_ |= 0x20000000;
1678 }
1679 if (((from_bitField0_ & 0x40000000) != 0)) {
1680 result.objectiveMatrixL2Norm_ = objectiveMatrixL2Norm_;
1681 to_bitField0_ |= 0x40000000;
1682 }
1683 result.bitField0_ |= to_bitField0_;
1684 }
1685
1686 @java.lang.Override
1687 public Builder mergeFrom(com.google.protobuf.Message other) {
1688 if (other instanceof com.google.ortools.pdlp.QuadraticProgramStats) {
1689 return mergeFrom((com.google.ortools.pdlp.QuadraticProgramStats)other);
1690 } else {
1691 super.mergeFrom(other);
1692 return this;
1693 }
1694 }
1695
1696 public Builder mergeFrom(com.google.ortools.pdlp.QuadraticProgramStats other) {
1697 if (other == com.google.ortools.pdlp.QuadraticProgramStats.getDefaultInstance()) return this;
1698 if (other.hasNumVariables()) {
1699 setNumVariables(other.getNumVariables());
1700 }
1701 if (other.hasNumConstraints()) {
1702 setNumConstraints(other.getNumConstraints());
1703 }
1704 if (other.hasConstraintMatrixColMinLInfNorm()) {
1705 setConstraintMatrixColMinLInfNorm(other.getConstraintMatrixColMinLInfNorm());
1706 }
1707 if (other.hasConstraintMatrixRowMinLInfNorm()) {
1708 setConstraintMatrixRowMinLInfNorm(other.getConstraintMatrixRowMinLInfNorm());
1709 }
1710 if (other.hasConstraintMatrixNumNonzeros()) {
1711 setConstraintMatrixNumNonzeros(other.getConstraintMatrixNumNonzeros());
1712 }
1713 if (other.hasConstraintMatrixAbsMax()) {
1714 setConstraintMatrixAbsMax(other.getConstraintMatrixAbsMax());
1715 }
1716 if (other.hasConstraintMatrixAbsMin()) {
1717 setConstraintMatrixAbsMin(other.getConstraintMatrixAbsMin());
1718 }
1719 if (other.hasConstraintMatrixAbsAvg()) {
1720 setConstraintMatrixAbsAvg(other.getConstraintMatrixAbsAvg());
1721 }
1722 if (other.hasConstraintMatrixL2Norm()) {
1723 setConstraintMatrixL2Norm(other.getConstraintMatrixL2Norm());
1724 }
1725 if (other.hasCombinedBoundsMax()) {
1726 setCombinedBoundsMax(other.getCombinedBoundsMax());
1727 }
1728 if (other.hasCombinedBoundsMin()) {
1729 setCombinedBoundsMin(other.getCombinedBoundsMin());
1730 }
1731 if (other.hasCombinedBoundsAvg()) {
1732 setCombinedBoundsAvg(other.getCombinedBoundsAvg());
1733 }
1734 if (other.hasCombinedBoundsL2Norm()) {
1735 setCombinedBoundsL2Norm(other.getCombinedBoundsL2Norm());
1736 }
1737 if (other.hasCombinedVariableBoundsMax()) {
1738 setCombinedVariableBoundsMax(other.getCombinedVariableBoundsMax());
1739 }
1740 if (other.hasCombinedVariableBoundsMin()) {
1741 setCombinedVariableBoundsMin(other.getCombinedVariableBoundsMin());
1742 }
1743 if (other.hasCombinedVariableBoundsAvg()) {
1744 setCombinedVariableBoundsAvg(other.getCombinedVariableBoundsAvg());
1745 }
1746 if (other.hasCombinedVariableBoundsL2Norm()) {
1747 setCombinedVariableBoundsL2Norm(other.getCombinedVariableBoundsL2Norm());
1748 }
1749 if (other.hasVariableBoundGapsNumFinite()) {
1750 setVariableBoundGapsNumFinite(other.getVariableBoundGapsNumFinite());
1751 }
1752 if (other.hasVariableBoundGapsMax()) {
1753 setVariableBoundGapsMax(other.getVariableBoundGapsMax());
1754 }
1755 if (other.hasVariableBoundGapsMin()) {
1756 setVariableBoundGapsMin(other.getVariableBoundGapsMin());
1757 }
1758 if (other.hasVariableBoundGapsAvg()) {
1759 setVariableBoundGapsAvg(other.getVariableBoundGapsAvg());
1760 }
1761 if (other.hasVariableBoundGapsL2Norm()) {
1762 setVariableBoundGapsL2Norm(other.getVariableBoundGapsL2Norm());
1763 }
1764 if (other.hasObjectiveVectorAbsMax()) {
1765 setObjectiveVectorAbsMax(other.getObjectiveVectorAbsMax());
1766 }
1767 if (other.hasObjectiveVectorAbsMin()) {
1768 setObjectiveVectorAbsMin(other.getObjectiveVectorAbsMin());
1769 }
1770 if (other.hasObjectiveVectorAbsAvg()) {
1771 setObjectiveVectorAbsAvg(other.getObjectiveVectorAbsAvg());
1772 }
1773 if (other.hasObjectiveVectorL2Norm()) {
1774 setObjectiveVectorL2Norm(other.getObjectiveVectorL2Norm());
1775 }
1776 if (other.hasObjectiveMatrixNumNonzeros()) {
1777 setObjectiveMatrixNumNonzeros(other.getObjectiveMatrixNumNonzeros());
1778 }
1779 if (other.hasObjectiveMatrixAbsMax()) {
1780 setObjectiveMatrixAbsMax(other.getObjectiveMatrixAbsMax());
1781 }
1782 if (other.hasObjectiveMatrixAbsMin()) {
1783 setObjectiveMatrixAbsMin(other.getObjectiveMatrixAbsMin());
1784 }
1785 if (other.hasObjectiveMatrixAbsAvg()) {
1786 setObjectiveMatrixAbsAvg(other.getObjectiveMatrixAbsAvg());
1787 }
1788 if (other.hasObjectiveMatrixL2Norm()) {
1789 setObjectiveMatrixL2Norm(other.getObjectiveMatrixL2Norm());
1790 }
1791 this.mergeUnknownFields(other.getUnknownFields());
1792 onChanged();
1793 return this;
1794 }
1795
1796 @java.lang.Override
1797 public final boolean isInitialized() {
1798 return true;
1799 }
1800
1801 @java.lang.Override
1802 public Builder mergeFrom(
1803 com.google.protobuf.CodedInputStream input,
1804 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1805 throws java.io.IOException {
1806 if (extensionRegistry == null) {
1807 throw new java.lang.NullPointerException();
1808 }
1809 try {
1810 boolean done = false;
1811 while (!done) {
1812 int tag = input.readTag();
1813 switch (tag) {
1814 case 0:
1815 done = true;
1816 break;
1817 case 8: {
1818 numVariables_ = input.readInt64();
1819 bitField0_ |= 0x00000001;
1820 break;
1821 } // case 8
1822 case 16: {
1823 numConstraints_ = input.readInt64();
1824 bitField0_ |= 0x00000002;
1825 break;
1826 } // case 16
1827 case 25: {
1828 constraintMatrixColMinLInfNorm_ = input.readDouble();
1829 bitField0_ |= 0x00000004;
1830 break;
1831 } // case 25
1832 case 33: {
1833 constraintMatrixRowMinLInfNorm_ = input.readDouble();
1834 bitField0_ |= 0x00000008;
1835 break;
1836 } // case 33
1837 case 40: {
1838 constraintMatrixNumNonzeros_ = input.readInt64();
1839 bitField0_ |= 0x00000010;
1840 break;
1841 } // case 40
1842 case 49: {
1843 constraintMatrixAbsMax_ = input.readDouble();
1844 bitField0_ |= 0x00000020;
1845 break;
1846 } // case 49
1847 case 57: {
1848 constraintMatrixAbsMin_ = input.readDouble();
1849 bitField0_ |= 0x00000040;
1850 break;
1851 } // case 57
1852 case 65: {
1853 constraintMatrixAbsAvg_ = input.readDouble();
1854 bitField0_ |= 0x00000080;
1855 break;
1856 } // case 65
1857 case 73: {
1858 combinedBoundsMax_ = input.readDouble();
1859 bitField0_ |= 0x00000200;
1860 break;
1861 } // case 73
1862 case 81: {
1863 combinedBoundsMin_ = input.readDouble();
1864 bitField0_ |= 0x00000400;
1865 break;
1866 } // case 81
1867 case 89: {
1868 combinedBoundsAvg_ = input.readDouble();
1869 bitField0_ |= 0x00000800;
1870 break;
1871 } // case 89
1872 case 96: {
1873 variableBoundGapsNumFinite_ = input.readInt64();
1874 bitField0_ |= 0x00020000;
1875 break;
1876 } // case 96
1877 case 105: {
1878 variableBoundGapsMax_ = input.readDouble();
1879 bitField0_ |= 0x00040000;
1880 break;
1881 } // case 105
1882 case 113: {
1883 variableBoundGapsMin_ = input.readDouble();
1884 bitField0_ |= 0x00080000;
1885 break;
1886 } // case 113
1887 case 121: {
1888 variableBoundGapsAvg_ = input.readDouble();
1889 bitField0_ |= 0x00100000;
1890 break;
1891 } // case 121
1892 case 129: {
1893 objectiveVectorAbsMax_ = input.readDouble();
1894 bitField0_ |= 0x00400000;
1895 break;
1896 } // case 129
1897 case 137: {
1898 objectiveVectorAbsMin_ = input.readDouble();
1899 bitField0_ |= 0x00800000;
1900 break;
1901 } // case 137
1902 case 145: {
1903 objectiveVectorAbsAvg_ = input.readDouble();
1904 bitField0_ |= 0x01000000;
1905 break;
1906 } // case 145
1907 case 152: {
1908 objectiveMatrixNumNonzeros_ = input.readInt64();
1909 bitField0_ |= 0x04000000;
1910 break;
1911 } // case 152
1912 case 161: {
1913 objectiveMatrixAbsMax_ = input.readDouble();
1914 bitField0_ |= 0x08000000;
1915 break;
1916 } // case 161
1917 case 169: {
1918 objectiveMatrixAbsMin_ = input.readDouble();
1919 bitField0_ |= 0x10000000;
1920 break;
1921 } // case 169
1922 case 177: {
1923 objectiveMatrixAbsAvg_ = input.readDouble();
1924 bitField0_ |= 0x20000000;
1925 break;
1926 } // case 177
1927 case 185: {
1928 objectiveVectorL2Norm_ = input.readDouble();
1929 bitField0_ |= 0x02000000;
1930 break;
1931 } // case 185
1932 case 193: {
1933 combinedBoundsL2Norm_ = input.readDouble();
1934 bitField0_ |= 0x00001000;
1935 break;
1936 } // case 193
1937 case 201: {
1938 constraintMatrixL2Norm_ = input.readDouble();
1939 bitField0_ |= 0x00000100;
1940 break;
1941 } // case 201
1942 case 209: {
1943 variableBoundGapsL2Norm_ = input.readDouble();
1944 bitField0_ |= 0x00200000;
1945 break;
1946 } // case 209
1947 case 217: {
1948 objectiveMatrixL2Norm_ = input.readDouble();
1949 bitField0_ |= 0x40000000;
1950 break;
1951 } // case 217
1952 case 225: {
1953 combinedVariableBoundsMax_ = input.readDouble();
1954 bitField0_ |= 0x00002000;
1955 break;
1956 } // case 225
1957 case 233: {
1958 combinedVariableBoundsMin_ = input.readDouble();
1959 bitField0_ |= 0x00004000;
1960 break;
1961 } // case 233
1962 case 241: {
1963 combinedVariableBoundsAvg_ = input.readDouble();
1964 bitField0_ |= 0x00008000;
1965 break;
1966 } // case 241
1967 case 249: {
1968 combinedVariableBoundsL2Norm_ = input.readDouble();
1969 bitField0_ |= 0x00010000;
1970 break;
1971 } // case 249
1972 default: {
1973 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1974 done = true; // was an endgroup tag
1975 }
1976 break;
1977 } // default:
1978 } // switch (tag)
1979 } // while (!done)
1980 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1981 throw e.unwrapIOException();
1982 } finally {
1983 onChanged();
1984 } // finally
1985 return this;
1986 }
1987 private int bitField0_;
1988
1989 private long numVariables_ ;
1994 @java.lang.Override
1995 public boolean hasNumVariables() {
1996 return ((bitField0_ & 0x00000001) != 0);
1997 }
1998
2002 @java.lang.Override
2003 public long getNumVariables() {
2004 return numVariables_;
2005 }
2006
2011 public Builder setNumVariables(long value) {
2012
2013 numVariables_ = value;
2014 bitField0_ |= 0x00000001;
2015 onChanged();
2016 return this;
2017 }
2018
2022 public Builder clearNumVariables() {
2023 bitField0_ = (bitField0_ & ~0x00000001);
2024 numVariables_ = 0L;
2025 onChanged();
2026 return this;
2027 }
2028
2029 private long numConstraints_ ;
2034 @java.lang.Override
2035 public boolean hasNumConstraints() {
2036 return ((bitField0_ & 0x00000002) != 0);
2037 }
2038
2042 @java.lang.Override
2043 public long getNumConstraints() {
2044 return numConstraints_;
2045 }
2046
2051 public Builder setNumConstraints(long value) {
2052
2053 numConstraints_ = value;
2054 bitField0_ |= 0x00000002;
2055 onChanged();
2056 return this;
2057 }
2058
2062 public Builder clearNumConstraints() {
2063 bitField0_ = (bitField0_ & ~0x00000002);
2064 numConstraints_ = 0L;
2065 onChanged();
2066 return this;
2067 }
2068
2069 private double constraintMatrixColMinLInfNorm_ ;
2080 @java.lang.Override
2082 return ((bitField0_ & 0x00000004) != 0);
2083 }
2084
2094 @java.lang.Override
2096 return constraintMatrixColMinLInfNorm_;
2097 }
2098
2109 public Builder setConstraintMatrixColMinLInfNorm(double value) {
2110
2111 constraintMatrixColMinLInfNorm_ = value;
2112 bitField0_ |= 0x00000004;
2113 onChanged();
2114 return this;
2115 }
2116
2127 bitField0_ = (bitField0_ & ~0x00000004);
2128 constraintMatrixColMinLInfNorm_ = 0D;
2129 onChanged();
2130 return this;
2131 }
2132
2133 private double constraintMatrixRowMinLInfNorm_ ;
2138 @java.lang.Override
2140 return ((bitField0_ & 0x00000008) != 0);
2141 }
2142
2146 @java.lang.Override
2148 return constraintMatrixRowMinLInfNorm_;
2149 }
2150
2155 public Builder setConstraintMatrixRowMinLInfNorm(double value) {
2156
2157 constraintMatrixRowMinLInfNorm_ = value;
2158 bitField0_ |= 0x00000008;
2159 onChanged();
2160 return this;
2161 }
2162
2167 bitField0_ = (bitField0_ & ~0x00000008);
2168 constraintMatrixRowMinLInfNorm_ = 0D;
2169 onChanged();
2170 return this;
2171 }
2172
2173 private long constraintMatrixNumNonzeros_ ;
2182 @java.lang.Override
2184 return ((bitField0_ & 0x00000010) != 0);
2185 }
2186
2194 @java.lang.Override
2196 return constraintMatrixNumNonzeros_;
2197 }
2198
2207 public Builder setConstraintMatrixNumNonzeros(long value) {
2208
2209 constraintMatrixNumNonzeros_ = value;
2210 bitField0_ |= 0x00000010;
2211 onChanged();
2212 return this;
2213 }
2214
2223 bitField0_ = (bitField0_ & ~0x00000010);
2224 constraintMatrixNumNonzeros_ = 0L;
2225 onChanged();
2226 return this;
2227 }
2228
2229 private double constraintMatrixAbsMax_ ;
2243 @java.lang.Override
2244 public boolean hasConstraintMatrixAbsMax() {
2245 return ((bitField0_ & 0x00000020) != 0);
2246 }
2247
2260 @java.lang.Override
2262 return constraintMatrixAbsMax_;
2263 }
2264
2278 public Builder setConstraintMatrixAbsMax(double value) {
2279
2280 constraintMatrixAbsMax_ = value;
2281 bitField0_ |= 0x00000020;
2282 onChanged();
2283 return this;
2284 }
2285
2299 bitField0_ = (bitField0_ & ~0x00000020);
2300 constraintMatrixAbsMax_ = 0D;
2301 onChanged();
2302 return this;
2303 }
2304
2305 private double constraintMatrixAbsMin_ ;
2310 @java.lang.Override
2311 public boolean hasConstraintMatrixAbsMin() {
2312 return ((bitField0_ & 0x00000040) != 0);
2313 }
2314
2318 @java.lang.Override
2320 return constraintMatrixAbsMin_;
2321 }
2322
2327 public Builder setConstraintMatrixAbsMin(double value) {
2328
2329 constraintMatrixAbsMin_ = value;
2330 bitField0_ |= 0x00000040;
2331 onChanged();
2332 return this;
2333 }
2334
2339 bitField0_ = (bitField0_ & ~0x00000040);
2340 constraintMatrixAbsMin_ = 0D;
2341 onChanged();
2342 return this;
2343 }
2344
2345 private double constraintMatrixAbsAvg_ ;
2350 @java.lang.Override
2351 public boolean hasConstraintMatrixAbsAvg() {
2352 return ((bitField0_ & 0x00000080) != 0);
2353 }
2354
2358 @java.lang.Override
2360 return constraintMatrixAbsAvg_;
2361 }
2362
2367 public Builder setConstraintMatrixAbsAvg(double value) {
2368
2369 constraintMatrixAbsAvg_ = value;
2370 bitField0_ |= 0x00000080;
2371 onChanged();
2372 return this;
2373 }
2374
2379 bitField0_ = (bitField0_ & ~0x00000080);
2380 constraintMatrixAbsAvg_ = 0D;
2381 onChanged();
2382 return this;
2383 }
2384
2385 private double constraintMatrixL2Norm_ ;
2390 @java.lang.Override
2391 public boolean hasConstraintMatrixL2Norm() {
2392 return ((bitField0_ & 0x00000100) != 0);
2393 }
2394
2398 @java.lang.Override
2400 return constraintMatrixL2Norm_;
2401 }
2402
2407 public Builder setConstraintMatrixL2Norm(double value) {
2408
2409 constraintMatrixL2Norm_ = value;
2410 bitField0_ |= 0x00000100;
2411 onChanged();
2412 return this;
2413 }
2414
2419 bitField0_ = (bitField0_ & ~0x00000100);
2420 constraintMatrixL2Norm_ = 0D;
2421 onChanged();
2422 return this;
2423 }
2424
2425 private double combinedBoundsMax_ ;
2440 @java.lang.Override
2441 public boolean hasCombinedBoundsMax() {
2442 return ((bitField0_ & 0x00000200) != 0);
2443 }
2444
2458 @java.lang.Override
2459 public double getCombinedBoundsMax() {
2460 return combinedBoundsMax_;
2461 }
2462
2477 public Builder setCombinedBoundsMax(double value) {
2478
2479 combinedBoundsMax_ = value;
2480 bitField0_ |= 0x00000200;
2481 onChanged();
2482 return this;
2483 }
2484
2498 public Builder clearCombinedBoundsMax() {
2499 bitField0_ = (bitField0_ & ~0x00000200);
2500 combinedBoundsMax_ = 0D;
2501 onChanged();
2502 return this;
2503 }
2504
2505 private double combinedBoundsMin_ ;
2510 @java.lang.Override
2511 public boolean hasCombinedBoundsMin() {
2512 return ((bitField0_ & 0x00000400) != 0);
2513 }
2514
2518 @java.lang.Override
2519 public double getCombinedBoundsMin() {
2520 return combinedBoundsMin_;
2521 }
2522
2527 public Builder setCombinedBoundsMin(double value) {
2528
2529 combinedBoundsMin_ = value;
2530 bitField0_ |= 0x00000400;
2531 onChanged();
2532 return this;
2533 }
2534
2538 public Builder clearCombinedBoundsMin() {
2539 bitField0_ = (bitField0_ & ~0x00000400);
2540 combinedBoundsMin_ = 0D;
2541 onChanged();
2542 return this;
2543 }
2544
2545 private double combinedBoundsAvg_ ;
2550 @java.lang.Override
2551 public boolean hasCombinedBoundsAvg() {
2552 return ((bitField0_ & 0x00000800) != 0);
2553 }
2554
2558 @java.lang.Override
2559 public double getCombinedBoundsAvg() {
2560 return combinedBoundsAvg_;
2561 }
2562
2567 public Builder setCombinedBoundsAvg(double value) {
2568
2569 combinedBoundsAvg_ = value;
2570 bitField0_ |= 0x00000800;
2571 onChanged();
2572 return this;
2573 }
2574
2578 public Builder clearCombinedBoundsAvg() {
2579 bitField0_ = (bitField0_ & ~0x00000800);
2580 combinedBoundsAvg_ = 0D;
2581 onChanged();
2582 return this;
2583 }
2584
2585 private double combinedBoundsL2Norm_ ;
2590 @java.lang.Override
2591 public boolean hasCombinedBoundsL2Norm() {
2592 return ((bitField0_ & 0x00001000) != 0);
2593 }
2594
2598 @java.lang.Override
2599 public double getCombinedBoundsL2Norm() {
2600 return combinedBoundsL2Norm_;
2601 }
2602
2607 public Builder setCombinedBoundsL2Norm(double value) {
2608
2609 combinedBoundsL2Norm_ = value;
2610 bitField0_ |= 0x00001000;
2611 onChanged();
2612 return this;
2613 }
2614
2618 public Builder clearCombinedBoundsL2Norm() {
2619 bitField0_ = (bitField0_ & ~0x00001000);
2620 combinedBoundsL2Norm_ = 0D;
2621 onChanged();
2622 return this;
2623 }
2624
2625 private double combinedVariableBoundsMax_ ;
2638 @java.lang.Override
2640 return ((bitField0_ & 0x00002000) != 0);
2641 }
2642
2654 @java.lang.Override
2656 return combinedVariableBoundsMax_;
2657 }
2658
2671 public Builder setCombinedVariableBoundsMax(double value) {
2672
2673 combinedVariableBoundsMax_ = value;
2674 bitField0_ |= 0x00002000;
2675 onChanged();
2676 return this;
2677 }
2678
2691 bitField0_ = (bitField0_ & ~0x00002000);
2692 combinedVariableBoundsMax_ = 0D;
2693 onChanged();
2694 return this;
2695 }
2696
2697 private double combinedVariableBoundsMin_ ;
2702 @java.lang.Override
2704 return ((bitField0_ & 0x00004000) != 0);
2705 }
2706
2710 @java.lang.Override
2712 return combinedVariableBoundsMin_;
2713 }
2714
2719 public Builder setCombinedVariableBoundsMin(double value) {
2720
2721 combinedVariableBoundsMin_ = value;
2722 bitField0_ |= 0x00004000;
2723 onChanged();
2724 return this;
2725 }
2726
2731 bitField0_ = (bitField0_ & ~0x00004000);
2732 combinedVariableBoundsMin_ = 0D;
2733 onChanged();
2734 return this;
2735 }
2736
2737 private double combinedVariableBoundsAvg_ ;
2742 @java.lang.Override
2744 return ((bitField0_ & 0x00008000) != 0);
2745 }
2746
2750 @java.lang.Override
2752 return combinedVariableBoundsAvg_;
2753 }
2754
2759 public Builder setCombinedVariableBoundsAvg(double value) {
2760
2761 combinedVariableBoundsAvg_ = value;
2762 bitField0_ |= 0x00008000;
2763 onChanged();
2764 return this;
2765 }
2766
2771 bitField0_ = (bitField0_ & ~0x00008000);
2772 combinedVariableBoundsAvg_ = 0D;
2773 onChanged();
2774 return this;
2775 }
2776
2777 private double combinedVariableBoundsL2Norm_ ;
2782 @java.lang.Override
2784 return ((bitField0_ & 0x00010000) != 0);
2785 }
2786
2790 @java.lang.Override
2792 return combinedVariableBoundsL2Norm_;
2793 }
2794
2799 public Builder setCombinedVariableBoundsL2Norm(double value) {
2800
2801 combinedVariableBoundsL2Norm_ = value;
2802 bitField0_ |= 0x00010000;
2803 onChanged();
2804 return this;
2805 }
2806
2811 bitField0_ = (bitField0_ & ~0x00010000);
2812 combinedVariableBoundsL2Norm_ = 0D;
2813 onChanged();
2814 return this;
2815 }
2816
2817 private long variableBoundGapsNumFinite_ ;
2827 @java.lang.Override
2829 return ((bitField0_ & 0x00020000) != 0);
2830 }
2831
2840 @java.lang.Override
2842 return variableBoundGapsNumFinite_;
2843 }
2844
2854 public Builder setVariableBoundGapsNumFinite(long value) {
2855
2856 variableBoundGapsNumFinite_ = value;
2857 bitField0_ |= 0x00020000;
2858 onChanged();
2859 return this;
2860 }
2861
2871 bitField0_ = (bitField0_ & ~0x00020000);
2872 variableBoundGapsNumFinite_ = 0L;
2873 onChanged();
2874 return this;
2875 }
2876
2877 private double variableBoundGapsMax_ ;
2889 @java.lang.Override
2890 public boolean hasVariableBoundGapsMax() {
2891 return ((bitField0_ & 0x00040000) != 0);
2892 }
2893
2904 @java.lang.Override
2905 public double getVariableBoundGapsMax() {
2906 return variableBoundGapsMax_;
2907 }
2908
2920 public Builder setVariableBoundGapsMax(double value) {
2921
2922 variableBoundGapsMax_ = value;
2923 bitField0_ |= 0x00040000;
2924 onChanged();
2925 return this;
2926 }
2927
2938 public Builder clearVariableBoundGapsMax() {
2939 bitField0_ = (bitField0_ & ~0x00040000);
2940 variableBoundGapsMax_ = 0D;
2941 onChanged();
2942 return this;
2943 }
2944
2945 private double variableBoundGapsMin_ ;
2950 @java.lang.Override
2951 public boolean hasVariableBoundGapsMin() {
2952 return ((bitField0_ & 0x00080000) != 0);
2953 }
2954
2958 @java.lang.Override
2959 public double getVariableBoundGapsMin() {
2960 return variableBoundGapsMin_;
2961 }
2962
2967 public Builder setVariableBoundGapsMin(double value) {
2968
2969 variableBoundGapsMin_ = value;
2970 bitField0_ |= 0x00080000;
2971 onChanged();
2972 return this;
2973 }
2974
2978 public Builder clearVariableBoundGapsMin() {
2979 bitField0_ = (bitField0_ & ~0x00080000);
2980 variableBoundGapsMin_ = 0D;
2981 onChanged();
2982 return this;
2983 }
2984
2985 private double variableBoundGapsAvg_ ;
2990 @java.lang.Override
2991 public boolean hasVariableBoundGapsAvg() {
2992 return ((bitField0_ & 0x00100000) != 0);
2993 }
2994
2998 @java.lang.Override
2999 public double getVariableBoundGapsAvg() {
3000 return variableBoundGapsAvg_;
3001 }
3002
3007 public Builder setVariableBoundGapsAvg(double value) {
3008
3009 variableBoundGapsAvg_ = value;
3010 bitField0_ |= 0x00100000;
3011 onChanged();
3012 return this;
3013 }
3014
3018 public Builder clearVariableBoundGapsAvg() {
3019 bitField0_ = (bitField0_ & ~0x00100000);
3020 variableBoundGapsAvg_ = 0D;
3021 onChanged();
3022 return this;
3023 }
3024
3025 private double variableBoundGapsL2Norm_ ;
3030 @java.lang.Override
3032 return ((bitField0_ & 0x00200000) != 0);
3033 }
3034
3038 @java.lang.Override
3040 return variableBoundGapsL2Norm_;
3041 }
3042
3047 public Builder setVariableBoundGapsL2Norm(double value) {
3048
3049 variableBoundGapsL2Norm_ = value;
3050 bitField0_ |= 0x00200000;
3051 onChanged();
3052 return this;
3053 }
3054
3059 bitField0_ = (bitField0_ & ~0x00200000);
3060 variableBoundGapsL2Norm_ = 0D;
3061 onChanged();
3062 return this;
3063 }
3064
3065 private double objectiveVectorAbsMax_ ;
3074 @java.lang.Override
3075 public boolean hasObjectiveVectorAbsMax() {
3076 return ((bitField0_ & 0x00400000) != 0);
3077 }
3078
3086 @java.lang.Override
3088 return objectiveVectorAbsMax_;
3089 }
3090
3099 public Builder setObjectiveVectorAbsMax(double value) {
3100
3101 objectiveVectorAbsMax_ = value;
3102 bitField0_ |= 0x00400000;
3103 onChanged();
3104 return this;
3105 }
3106
3115 bitField0_ = (bitField0_ & ~0x00400000);
3116 objectiveVectorAbsMax_ = 0D;
3117 onChanged();
3118 return this;
3119 }
3120
3121 private double objectiveVectorAbsMin_ ;
3126 @java.lang.Override
3127 public boolean hasObjectiveVectorAbsMin() {
3128 return ((bitField0_ & 0x00800000) != 0);
3129 }
3130
3134 @java.lang.Override
3136 return objectiveVectorAbsMin_;
3137 }
3138
3143 public Builder setObjectiveVectorAbsMin(double value) {
3144
3145 objectiveVectorAbsMin_ = value;
3146 bitField0_ |= 0x00800000;
3147 onChanged();
3148 return this;
3149 }
3150
3155 bitField0_ = (bitField0_ & ~0x00800000);
3156 objectiveVectorAbsMin_ = 0D;
3157 onChanged();
3158 return this;
3159 }
3160
3161 private double objectiveVectorAbsAvg_ ;
3166 @java.lang.Override
3167 public boolean hasObjectiveVectorAbsAvg() {
3168 return ((bitField0_ & 0x01000000) != 0);
3169 }
3170
3174 @java.lang.Override
3176 return objectiveVectorAbsAvg_;
3177 }
3178
3183 public Builder setObjectiveVectorAbsAvg(double value) {
3184
3185 objectiveVectorAbsAvg_ = value;
3186 bitField0_ |= 0x01000000;
3187 onChanged();
3188 return this;
3189 }
3190
3195 bitField0_ = (bitField0_ & ~0x01000000);
3196 objectiveVectorAbsAvg_ = 0D;
3197 onChanged();
3198 return this;
3199 }
3200
3201 private double objectiveVectorL2Norm_ ;
3206 @java.lang.Override
3207 public boolean hasObjectiveVectorL2Norm() {
3208 return ((bitField0_ & 0x02000000) != 0);
3209 }
3210
3214 @java.lang.Override
3216 return objectiveVectorL2Norm_;
3217 }
3218
3223 public Builder setObjectiveVectorL2Norm(double value) {
3224
3225 objectiveVectorL2Norm_ = value;
3226 bitField0_ |= 0x02000000;
3227 onChanged();
3228 return this;
3229 }
3230
3235 bitField0_ = (bitField0_ & ~0x02000000);
3236 objectiveVectorL2Norm_ = 0D;
3237 onChanged();
3238 return this;
3239 }
3240
3241 private long objectiveMatrixNumNonzeros_ ;
3246 @java.lang.Override
3248 return ((bitField0_ & 0x04000000) != 0);
3249 }
3250
3254 @java.lang.Override
3256 return objectiveMatrixNumNonzeros_;
3257 }
3258
3263 public Builder setObjectiveMatrixNumNonzeros(long value) {
3264
3265 objectiveMatrixNumNonzeros_ = value;
3266 bitField0_ |= 0x04000000;
3267 onChanged();
3268 return this;
3269 }
3270
3275 bitField0_ = (bitField0_ & ~0x04000000);
3276 objectiveMatrixNumNonzeros_ = 0L;
3277 onChanged();
3278 return this;
3279 }
3280
3281 private double objectiveMatrixAbsMax_ ;
3292 @java.lang.Override
3293 public boolean hasObjectiveMatrixAbsMax() {
3294 return ((bitField0_ & 0x08000000) != 0);
3295 }
3296
3306 @java.lang.Override
3308 return objectiveMatrixAbsMax_;
3309 }
3310
3321 public Builder setObjectiveMatrixAbsMax(double value) {
3322
3323 objectiveMatrixAbsMax_ = value;
3324 bitField0_ |= 0x08000000;
3325 onChanged();
3326 return this;
3327 }
3328
3339 bitField0_ = (bitField0_ & ~0x08000000);
3340 objectiveMatrixAbsMax_ = 0D;
3341 onChanged();
3342 return this;
3343 }
3344
3345 private double objectiveMatrixAbsMin_ ;
3350 @java.lang.Override
3351 public boolean hasObjectiveMatrixAbsMin() {
3352 return ((bitField0_ & 0x10000000) != 0);
3353 }
3354
3358 @java.lang.Override
3360 return objectiveMatrixAbsMin_;
3361 }
3362
3367 public Builder setObjectiveMatrixAbsMin(double value) {
3368
3369 objectiveMatrixAbsMin_ = value;
3370 bitField0_ |= 0x10000000;
3371 onChanged();
3372 return this;
3373 }
3374
3379 bitField0_ = (bitField0_ & ~0x10000000);
3380 objectiveMatrixAbsMin_ = 0D;
3381 onChanged();
3382 return this;
3383 }
3384
3385 private double objectiveMatrixAbsAvg_ ;
3390 @java.lang.Override
3391 public boolean hasObjectiveMatrixAbsAvg() {
3392 return ((bitField0_ & 0x20000000) != 0);
3393 }
3394
3398 @java.lang.Override
3400 return objectiveMatrixAbsAvg_;
3401 }
3402
3407 public Builder setObjectiveMatrixAbsAvg(double value) {
3408
3409 objectiveMatrixAbsAvg_ = value;
3410 bitField0_ |= 0x20000000;
3411 onChanged();
3412 return this;
3413 }
3414
3419 bitField0_ = (bitField0_ & ~0x20000000);
3420 objectiveMatrixAbsAvg_ = 0D;
3421 onChanged();
3422 return this;
3423 }
3424
3425 private double objectiveMatrixL2Norm_ ;
3430 @java.lang.Override
3431 public boolean hasObjectiveMatrixL2Norm() {
3432 return ((bitField0_ & 0x40000000) != 0);
3433 }
3434
3438 @java.lang.Override
3440 return objectiveMatrixL2Norm_;
3441 }
3442
3447 public Builder setObjectiveMatrixL2Norm(double value) {
3448
3449 objectiveMatrixL2Norm_ = value;
3450 bitField0_ |= 0x40000000;
3451 onChanged();
3452 return this;
3453 }
3454
3459 bitField0_ = (bitField0_ & ~0x40000000);
3460 objectiveMatrixL2Norm_ = 0D;
3461 onChanged();
3462 return this;
3463 }
3464
3465 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.QuadraticProgramStats)
3466 }
3467
3468 // @@protoc_insertion_point(class_scope:operations_research.pdlp.QuadraticProgramStats)
3469 private static final com.google.ortools.pdlp.QuadraticProgramStats DEFAULT_INSTANCE;
3470 static {
3471 DEFAULT_INSTANCE = new com.google.ortools.pdlp.QuadraticProgramStats();
3472 }
3473
3475 return DEFAULT_INSTANCE;
3476 }
3477
3478 private static final com.google.protobuf.Parser<QuadraticProgramStats>
3479 PARSER = new com.google.protobuf.AbstractParser<QuadraticProgramStats>() {
3480 @java.lang.Override
3481 public QuadraticProgramStats parsePartialFrom(
3482 com.google.protobuf.CodedInputStream input,
3483 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3484 throws com.google.protobuf.InvalidProtocolBufferException {
3485 Builder builder = newBuilder();
3486 try {
3487 builder.mergeFrom(input, extensionRegistry);
3488 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3489 throw e.setUnfinishedMessage(builder.buildPartial());
3490 } catch (com.google.protobuf.UninitializedMessageException e) {
3491 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
3492 } catch (java.io.IOException e) {
3493 throw new com.google.protobuf.InvalidProtocolBufferException(e)
3494 .setUnfinishedMessage(builder.buildPartial());
3495 }
3496 return builder.buildPartial();
3497 }
3498 };
3499
3500 public static com.google.protobuf.Parser<QuadraticProgramStats> parser() {
3501 return PARSER;
3502 }
3503
3504 @java.lang.Override
3505 public com.google.protobuf.Parser<QuadraticProgramStats> getParserForType() {
3506 return PARSER;
3507 }
3508
3509 @java.lang.Override
3511 return DEFAULT_INSTANCE;
3512 }
3513
3514}
3515
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)