Google OR-Tools v9.14
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.31.1
5
6package com.google.ortools.pdlp;
7
15@com.google.protobuf.Generated
16public final class QuadraticProgramStats extends
17 com.google.protobuf.GeneratedMessage implements
18 // @@protoc_insertion_point(message_implements:operations_research.pdlp.QuadraticProgramStats)
20private static final long serialVersionUID = 0L;
21 static {
22 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
23 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
24 /* major= */ 4,
25 /* minor= */ 31,
26 /* patch= */ 1,
27 /* suffix= */ "",
28 QuadraticProgramStats.class.getName());
29 }
30 // Use QuadraticProgramStats.newBuilder() to construct.
31 private QuadraticProgramStats(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
32 super(builder);
33 }
34 private QuadraticProgramStats() {
35 }
36
37 public static final com.google.protobuf.Descriptors.Descriptor
39 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_descriptor;
40 }
41
42 @java.lang.Override
43 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
45 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_fieldAccessorTable
46 .ensureFieldAccessorsInitialized(
47 com.google.ortools.pdlp.QuadraticProgramStats.class, com.google.ortools.pdlp.QuadraticProgramStats.Builder.class);
48 }
49
50 private int bitField0_;
51 public static final int NUM_VARIABLES_FIELD_NUMBER = 1;
52 private long numVariables_ = 0L;
57 @java.lang.Override
58 public boolean hasNumVariables() {
59 return ((bitField0_ & 0x00000001) != 0);
60 }
61
65 @java.lang.Override
66 public long getNumVariables() {
67 return numVariables_;
68 }
69
70 public static final int NUM_CONSTRAINTS_FIELD_NUMBER = 2;
71 private long numConstraints_ = 0L;
76 @java.lang.Override
77 public boolean hasNumConstraints() {
78 return ((bitField0_ & 0x00000002) != 0);
79 }
80
84 @java.lang.Override
85 public long getNumConstraints() {
86 return numConstraints_;
87 }
88
90 private double constraintMatrixColMinLInfNorm_ = 0D;
101 @java.lang.Override
103 return ((bitField0_ & 0x00000004) != 0);
104 }
105
115 @java.lang.Override
117 return constraintMatrixColMinLInfNorm_;
118 }
119
121 private double constraintMatrixRowMinLInfNorm_ = 0D;
126 @java.lang.Override
128 return ((bitField0_ & 0x00000008) != 0);
129 }
130
134 @java.lang.Override
136 return constraintMatrixRowMinLInfNorm_;
137 }
138
140 private long constraintMatrixNumNonzeros_ = 0L;
149 @java.lang.Override
151 return ((bitField0_ & 0x00000010) != 0);
152 }
153
161 @java.lang.Override
163 return constraintMatrixNumNonzeros_;
164 }
165
166 public static final int CONSTRAINT_MATRIX_ABS_MAX_FIELD_NUMBER = 6;
167 private double constraintMatrixAbsMax_ = 0D;
181 @java.lang.Override
182 public boolean hasConstraintMatrixAbsMax() {
183 return ((bitField0_ & 0x00000020) != 0);
184 }
185
198 @java.lang.Override
200 return constraintMatrixAbsMax_;
201 }
202
203 public static final int CONSTRAINT_MATRIX_ABS_MIN_FIELD_NUMBER = 7;
204 private double constraintMatrixAbsMin_ = 0D;
209 @java.lang.Override
210 public boolean hasConstraintMatrixAbsMin() {
211 return ((bitField0_ & 0x00000040) != 0);
212 }
213
217 @java.lang.Override
219 return constraintMatrixAbsMin_;
220 }
221
222 public static final int CONSTRAINT_MATRIX_ABS_AVG_FIELD_NUMBER = 8;
223 private double constraintMatrixAbsAvg_ = 0D;
228 @java.lang.Override
229 public boolean hasConstraintMatrixAbsAvg() {
230 return ((bitField0_ & 0x00000080) != 0);
231 }
232
236 @java.lang.Override
238 return constraintMatrixAbsAvg_;
239 }
240
241 public static final int CONSTRAINT_MATRIX_L2_NORM_FIELD_NUMBER = 25;
242 private double constraintMatrixL2Norm_ = 0D;
247 @java.lang.Override
248 public boolean hasConstraintMatrixL2Norm() {
249 return ((bitField0_ & 0x00000100) != 0);
250 }
251
255 @java.lang.Override
257 return constraintMatrixL2Norm_;
258 }
259
260 public static final int COMBINED_BOUNDS_MAX_FIELD_NUMBER = 9;
261 private double combinedBoundsMax_ = 0D;
276 @java.lang.Override
277 public boolean hasCombinedBoundsMax() {
278 return ((bitField0_ & 0x00000200) != 0);
279 }
280
294 @java.lang.Override
295 public double getCombinedBoundsMax() {
296 return combinedBoundsMax_;
297 }
298
299 public static final int COMBINED_BOUNDS_MIN_FIELD_NUMBER = 10;
300 private double combinedBoundsMin_ = 0D;
305 @java.lang.Override
306 public boolean hasCombinedBoundsMin() {
307 return ((bitField0_ & 0x00000400) != 0);
308 }
309
313 @java.lang.Override
314 public double getCombinedBoundsMin() {
315 return combinedBoundsMin_;
316 }
317
318 public static final int COMBINED_BOUNDS_AVG_FIELD_NUMBER = 11;
319 private double combinedBoundsAvg_ = 0D;
324 @java.lang.Override
325 public boolean hasCombinedBoundsAvg() {
326 return ((bitField0_ & 0x00000800) != 0);
327 }
328
332 @java.lang.Override
333 public double getCombinedBoundsAvg() {
334 return combinedBoundsAvg_;
335 }
336
337 public static final int COMBINED_BOUNDS_L2_NORM_FIELD_NUMBER = 24;
338 private double combinedBoundsL2Norm_ = 0D;
343 @java.lang.Override
344 public boolean hasCombinedBoundsL2Norm() {
345 return ((bitField0_ & 0x00001000) != 0);
346 }
347
351 @java.lang.Override
352 public double getCombinedBoundsL2Norm() {
353 return combinedBoundsL2Norm_;
354 }
355
356 public static final int COMBINED_VARIABLE_BOUNDS_MAX_FIELD_NUMBER = 28;
357 private double combinedVariableBoundsMax_ = 0D;
370 @java.lang.Override
372 return ((bitField0_ & 0x00002000) != 0);
373 }
374
386 @java.lang.Override
388 return combinedVariableBoundsMax_;
389 }
390
391 public static final int COMBINED_VARIABLE_BOUNDS_MIN_FIELD_NUMBER = 29;
392 private double combinedVariableBoundsMin_ = 0D;
397 @java.lang.Override
399 return ((bitField0_ & 0x00004000) != 0);
400 }
401
405 @java.lang.Override
407 return combinedVariableBoundsMin_;
408 }
409
410 public static final int COMBINED_VARIABLE_BOUNDS_AVG_FIELD_NUMBER = 30;
411 private double combinedVariableBoundsAvg_ = 0D;
416 @java.lang.Override
418 return ((bitField0_ & 0x00008000) != 0);
419 }
420
424 @java.lang.Override
426 return combinedVariableBoundsAvg_;
427 }
428
430 private double combinedVariableBoundsL2Norm_ = 0D;
435 @java.lang.Override
437 return ((bitField0_ & 0x00010000) != 0);
438 }
439
443 @java.lang.Override
445 return combinedVariableBoundsL2Norm_;
446 }
447
449 private long variableBoundGapsNumFinite_ = 0L;
459 @java.lang.Override
461 return ((bitField0_ & 0x00020000) != 0);
462 }
463
472 @java.lang.Override
474 return variableBoundGapsNumFinite_;
475 }
476
477 public static final int VARIABLE_BOUND_GAPS_MAX_FIELD_NUMBER = 13;
478 private double variableBoundGapsMax_ = 0D;
490 @java.lang.Override
491 public boolean hasVariableBoundGapsMax() {
492 return ((bitField0_ & 0x00040000) != 0);
493 }
494
505 @java.lang.Override
506 public double getVariableBoundGapsMax() {
507 return variableBoundGapsMax_;
508 }
509
510 public static final int VARIABLE_BOUND_GAPS_MIN_FIELD_NUMBER = 14;
511 private double variableBoundGapsMin_ = 0D;
516 @java.lang.Override
517 public boolean hasVariableBoundGapsMin() {
518 return ((bitField0_ & 0x00080000) != 0);
519 }
520
524 @java.lang.Override
525 public double getVariableBoundGapsMin() {
526 return variableBoundGapsMin_;
527 }
528
529 public static final int VARIABLE_BOUND_GAPS_AVG_FIELD_NUMBER = 15;
530 private double variableBoundGapsAvg_ = 0D;
535 @java.lang.Override
536 public boolean hasVariableBoundGapsAvg() {
537 return ((bitField0_ & 0x00100000) != 0);
538 }
539
543 @java.lang.Override
544 public double getVariableBoundGapsAvg() {
545 return variableBoundGapsAvg_;
546 }
547
548 public static final int VARIABLE_BOUND_GAPS_L2_NORM_FIELD_NUMBER = 26;
549 private double variableBoundGapsL2Norm_ = 0D;
554 @java.lang.Override
555 public boolean hasVariableBoundGapsL2Norm() {
556 return ((bitField0_ & 0x00200000) != 0);
557 }
558
562 @java.lang.Override
564 return variableBoundGapsL2Norm_;
565 }
566
567 public static final int OBJECTIVE_VECTOR_ABS_MAX_FIELD_NUMBER = 16;
568 private double objectiveVectorAbsMax_ = 0D;
577 @java.lang.Override
578 public boolean hasObjectiveVectorAbsMax() {
579 return ((bitField0_ & 0x00400000) != 0);
580 }
581
589 @java.lang.Override
590 public double getObjectiveVectorAbsMax() {
591 return objectiveVectorAbsMax_;
592 }
593
594 public static final int OBJECTIVE_VECTOR_ABS_MIN_FIELD_NUMBER = 17;
595 private double objectiveVectorAbsMin_ = 0D;
600 @java.lang.Override
601 public boolean hasObjectiveVectorAbsMin() {
602 return ((bitField0_ & 0x00800000) != 0);
603 }
604
608 @java.lang.Override
609 public double getObjectiveVectorAbsMin() {
610 return objectiveVectorAbsMin_;
611 }
612
613 public static final int OBJECTIVE_VECTOR_ABS_AVG_FIELD_NUMBER = 18;
614 private double objectiveVectorAbsAvg_ = 0D;
619 @java.lang.Override
620 public boolean hasObjectiveVectorAbsAvg() {
621 return ((bitField0_ & 0x01000000) != 0);
622 }
623
627 @java.lang.Override
628 public double getObjectiveVectorAbsAvg() {
629 return objectiveVectorAbsAvg_;
630 }
631
632 public static final int OBJECTIVE_VECTOR_L2_NORM_FIELD_NUMBER = 23;
633 private double objectiveVectorL2Norm_ = 0D;
638 @java.lang.Override
639 public boolean hasObjectiveVectorL2Norm() {
640 return ((bitField0_ & 0x02000000) != 0);
641 }
642
646 @java.lang.Override
647 public double getObjectiveVectorL2Norm() {
648 return objectiveVectorL2Norm_;
649 }
650
651 public static final int OBJECTIVE_MATRIX_NUM_NONZEROS_FIELD_NUMBER = 19;
652 private long objectiveMatrixNumNonzeros_ = 0L;
657 @java.lang.Override
659 return ((bitField0_ & 0x04000000) != 0);
660 }
661
665 @java.lang.Override
667 return objectiveMatrixNumNonzeros_;
668 }
669
670 public static final int OBJECTIVE_MATRIX_ABS_MAX_FIELD_NUMBER = 20;
671 private double objectiveMatrixAbsMax_ = 0D;
682 @java.lang.Override
683 public boolean hasObjectiveMatrixAbsMax() {
684 return ((bitField0_ & 0x08000000) != 0);
685 }
686
696 @java.lang.Override
697 public double getObjectiveMatrixAbsMax() {
698 return objectiveMatrixAbsMax_;
699 }
700
701 public static final int OBJECTIVE_MATRIX_ABS_MIN_FIELD_NUMBER = 21;
702 private double objectiveMatrixAbsMin_ = 0D;
707 @java.lang.Override
708 public boolean hasObjectiveMatrixAbsMin() {
709 return ((bitField0_ & 0x10000000) != 0);
710 }
711
715 @java.lang.Override
716 public double getObjectiveMatrixAbsMin() {
717 return objectiveMatrixAbsMin_;
718 }
719
720 public static final int OBJECTIVE_MATRIX_ABS_AVG_FIELD_NUMBER = 22;
721 private double objectiveMatrixAbsAvg_ = 0D;
726 @java.lang.Override
727 public boolean hasObjectiveMatrixAbsAvg() {
728 return ((bitField0_ & 0x20000000) != 0);
729 }
730
734 @java.lang.Override
735 public double getObjectiveMatrixAbsAvg() {
736 return objectiveMatrixAbsAvg_;
737 }
738
739 public static final int OBJECTIVE_MATRIX_L2_NORM_FIELD_NUMBER = 27;
740 private double objectiveMatrixL2Norm_ = 0D;
745 @java.lang.Override
746 public boolean hasObjectiveMatrixL2Norm() {
747 return ((bitField0_ & 0x40000000) != 0);
748 }
749
753 @java.lang.Override
754 public double getObjectiveMatrixL2Norm() {
755 return objectiveMatrixL2Norm_;
756 }
757
758 private byte memoizedIsInitialized = -1;
759 @java.lang.Override
760 public final boolean isInitialized() {
761 byte isInitialized = memoizedIsInitialized;
762 if (isInitialized == 1) return true;
763 if (isInitialized == 0) return false;
764
765 memoizedIsInitialized = 1;
766 return true;
767 }
768
769 @java.lang.Override
770 public void writeTo(com.google.protobuf.CodedOutputStream output)
771 throws java.io.IOException {
772 if (((bitField0_ & 0x00000001) != 0)) {
773 output.writeInt64(1, numVariables_);
774 }
775 if (((bitField0_ & 0x00000002) != 0)) {
776 output.writeInt64(2, numConstraints_);
777 }
778 if (((bitField0_ & 0x00000004) != 0)) {
779 output.writeDouble(3, constraintMatrixColMinLInfNorm_);
780 }
781 if (((bitField0_ & 0x00000008) != 0)) {
782 output.writeDouble(4, constraintMatrixRowMinLInfNorm_);
783 }
784 if (((bitField0_ & 0x00000010) != 0)) {
785 output.writeInt64(5, constraintMatrixNumNonzeros_);
786 }
787 if (((bitField0_ & 0x00000020) != 0)) {
788 output.writeDouble(6, constraintMatrixAbsMax_);
789 }
790 if (((bitField0_ & 0x00000040) != 0)) {
791 output.writeDouble(7, constraintMatrixAbsMin_);
792 }
793 if (((bitField0_ & 0x00000080) != 0)) {
794 output.writeDouble(8, constraintMatrixAbsAvg_);
795 }
796 if (((bitField0_ & 0x00000200) != 0)) {
797 output.writeDouble(9, combinedBoundsMax_);
798 }
799 if (((bitField0_ & 0x00000400) != 0)) {
800 output.writeDouble(10, combinedBoundsMin_);
801 }
802 if (((bitField0_ & 0x00000800) != 0)) {
803 output.writeDouble(11, combinedBoundsAvg_);
804 }
805 if (((bitField0_ & 0x00020000) != 0)) {
806 output.writeInt64(12, variableBoundGapsNumFinite_);
807 }
808 if (((bitField0_ & 0x00040000) != 0)) {
809 output.writeDouble(13, variableBoundGapsMax_);
810 }
811 if (((bitField0_ & 0x00080000) != 0)) {
812 output.writeDouble(14, variableBoundGapsMin_);
813 }
814 if (((bitField0_ & 0x00100000) != 0)) {
815 output.writeDouble(15, variableBoundGapsAvg_);
816 }
817 if (((bitField0_ & 0x00400000) != 0)) {
818 output.writeDouble(16, objectiveVectorAbsMax_);
819 }
820 if (((bitField0_ & 0x00800000) != 0)) {
821 output.writeDouble(17, objectiveVectorAbsMin_);
822 }
823 if (((bitField0_ & 0x01000000) != 0)) {
824 output.writeDouble(18, objectiveVectorAbsAvg_);
825 }
826 if (((bitField0_ & 0x04000000) != 0)) {
827 output.writeInt64(19, objectiveMatrixNumNonzeros_);
828 }
829 if (((bitField0_ & 0x08000000) != 0)) {
830 output.writeDouble(20, objectiveMatrixAbsMax_);
831 }
832 if (((bitField0_ & 0x10000000) != 0)) {
833 output.writeDouble(21, objectiveMatrixAbsMin_);
834 }
835 if (((bitField0_ & 0x20000000) != 0)) {
836 output.writeDouble(22, objectiveMatrixAbsAvg_);
837 }
838 if (((bitField0_ & 0x02000000) != 0)) {
839 output.writeDouble(23, objectiveVectorL2Norm_);
840 }
841 if (((bitField0_ & 0x00001000) != 0)) {
842 output.writeDouble(24, combinedBoundsL2Norm_);
843 }
844 if (((bitField0_ & 0x00000100) != 0)) {
845 output.writeDouble(25, constraintMatrixL2Norm_);
846 }
847 if (((bitField0_ & 0x00200000) != 0)) {
848 output.writeDouble(26, variableBoundGapsL2Norm_);
849 }
850 if (((bitField0_ & 0x40000000) != 0)) {
851 output.writeDouble(27, objectiveMatrixL2Norm_);
852 }
853 if (((bitField0_ & 0x00002000) != 0)) {
854 output.writeDouble(28, combinedVariableBoundsMax_);
855 }
856 if (((bitField0_ & 0x00004000) != 0)) {
857 output.writeDouble(29, combinedVariableBoundsMin_);
858 }
859 if (((bitField0_ & 0x00008000) != 0)) {
860 output.writeDouble(30, combinedVariableBoundsAvg_);
861 }
862 if (((bitField0_ & 0x00010000) != 0)) {
863 output.writeDouble(31, combinedVariableBoundsL2Norm_);
864 }
865 getUnknownFields().writeTo(output);
866 }
867
868 @java.lang.Override
869 public int getSerializedSize() {
870 int size = memoizedSize;
871 if (size != -1) return size;
872
873 size = 0;
874 if (((bitField0_ & 0x00000001) != 0)) {
875 size += com.google.protobuf.CodedOutputStream
876 .computeInt64Size(1, numVariables_);
877 }
878 if (((bitField0_ & 0x00000002) != 0)) {
879 size += com.google.protobuf.CodedOutputStream
880 .computeInt64Size(2, numConstraints_);
881 }
882 if (((bitField0_ & 0x00000004) != 0)) {
883 size += com.google.protobuf.CodedOutputStream
884 .computeDoubleSize(3, constraintMatrixColMinLInfNorm_);
885 }
886 if (((bitField0_ & 0x00000008) != 0)) {
887 size += com.google.protobuf.CodedOutputStream
888 .computeDoubleSize(4, constraintMatrixRowMinLInfNorm_);
889 }
890 if (((bitField0_ & 0x00000010) != 0)) {
891 size += com.google.protobuf.CodedOutputStream
892 .computeInt64Size(5, constraintMatrixNumNonzeros_);
893 }
894 if (((bitField0_ & 0x00000020) != 0)) {
895 size += com.google.protobuf.CodedOutputStream
896 .computeDoubleSize(6, constraintMatrixAbsMax_);
897 }
898 if (((bitField0_ & 0x00000040) != 0)) {
899 size += com.google.protobuf.CodedOutputStream
900 .computeDoubleSize(7, constraintMatrixAbsMin_);
901 }
902 if (((bitField0_ & 0x00000080) != 0)) {
903 size += com.google.protobuf.CodedOutputStream
904 .computeDoubleSize(8, constraintMatrixAbsAvg_);
905 }
906 if (((bitField0_ & 0x00000200) != 0)) {
907 size += com.google.protobuf.CodedOutputStream
908 .computeDoubleSize(9, combinedBoundsMax_);
909 }
910 if (((bitField0_ & 0x00000400) != 0)) {
911 size += com.google.protobuf.CodedOutputStream
912 .computeDoubleSize(10, combinedBoundsMin_);
913 }
914 if (((bitField0_ & 0x00000800) != 0)) {
915 size += com.google.protobuf.CodedOutputStream
916 .computeDoubleSize(11, combinedBoundsAvg_);
917 }
918 if (((bitField0_ & 0x00020000) != 0)) {
919 size += com.google.protobuf.CodedOutputStream
920 .computeInt64Size(12, variableBoundGapsNumFinite_);
921 }
922 if (((bitField0_ & 0x00040000) != 0)) {
923 size += com.google.protobuf.CodedOutputStream
924 .computeDoubleSize(13, variableBoundGapsMax_);
925 }
926 if (((bitField0_ & 0x00080000) != 0)) {
927 size += com.google.protobuf.CodedOutputStream
928 .computeDoubleSize(14, variableBoundGapsMin_);
929 }
930 if (((bitField0_ & 0x00100000) != 0)) {
931 size += com.google.protobuf.CodedOutputStream
932 .computeDoubleSize(15, variableBoundGapsAvg_);
933 }
934 if (((bitField0_ & 0x00400000) != 0)) {
935 size += com.google.protobuf.CodedOutputStream
936 .computeDoubleSize(16, objectiveVectorAbsMax_);
937 }
938 if (((bitField0_ & 0x00800000) != 0)) {
939 size += com.google.protobuf.CodedOutputStream
940 .computeDoubleSize(17, objectiveVectorAbsMin_);
941 }
942 if (((bitField0_ & 0x01000000) != 0)) {
943 size += com.google.protobuf.CodedOutputStream
944 .computeDoubleSize(18, objectiveVectorAbsAvg_);
945 }
946 if (((bitField0_ & 0x04000000) != 0)) {
947 size += com.google.protobuf.CodedOutputStream
948 .computeInt64Size(19, objectiveMatrixNumNonzeros_);
949 }
950 if (((bitField0_ & 0x08000000) != 0)) {
951 size += com.google.protobuf.CodedOutputStream
952 .computeDoubleSize(20, objectiveMatrixAbsMax_);
953 }
954 if (((bitField0_ & 0x10000000) != 0)) {
955 size += com.google.protobuf.CodedOutputStream
956 .computeDoubleSize(21, objectiveMatrixAbsMin_);
957 }
958 if (((bitField0_ & 0x20000000) != 0)) {
959 size += com.google.protobuf.CodedOutputStream
960 .computeDoubleSize(22, objectiveMatrixAbsAvg_);
961 }
962 if (((bitField0_ & 0x02000000) != 0)) {
963 size += com.google.protobuf.CodedOutputStream
964 .computeDoubleSize(23, objectiveVectorL2Norm_);
965 }
966 if (((bitField0_ & 0x00001000) != 0)) {
967 size += com.google.protobuf.CodedOutputStream
968 .computeDoubleSize(24, combinedBoundsL2Norm_);
969 }
970 if (((bitField0_ & 0x00000100) != 0)) {
971 size += com.google.protobuf.CodedOutputStream
972 .computeDoubleSize(25, constraintMatrixL2Norm_);
973 }
974 if (((bitField0_ & 0x00200000) != 0)) {
975 size += com.google.protobuf.CodedOutputStream
976 .computeDoubleSize(26, variableBoundGapsL2Norm_);
977 }
978 if (((bitField0_ & 0x40000000) != 0)) {
979 size += com.google.protobuf.CodedOutputStream
980 .computeDoubleSize(27, objectiveMatrixL2Norm_);
981 }
982 if (((bitField0_ & 0x00002000) != 0)) {
983 size += com.google.protobuf.CodedOutputStream
984 .computeDoubleSize(28, combinedVariableBoundsMax_);
985 }
986 if (((bitField0_ & 0x00004000) != 0)) {
987 size += com.google.protobuf.CodedOutputStream
988 .computeDoubleSize(29, combinedVariableBoundsMin_);
989 }
990 if (((bitField0_ & 0x00008000) != 0)) {
991 size += com.google.protobuf.CodedOutputStream
992 .computeDoubleSize(30, combinedVariableBoundsAvg_);
993 }
994 if (((bitField0_ & 0x00010000) != 0)) {
995 size += com.google.protobuf.CodedOutputStream
996 .computeDoubleSize(31, combinedVariableBoundsL2Norm_);
997 }
998 size += getUnknownFields().getSerializedSize();
999 memoizedSize = size;
1000 return size;
1001 }
1002
1003 @java.lang.Override
1004 public boolean equals(final java.lang.Object obj) {
1005 if (obj == this) {
1006 return true;
1007 }
1008 if (!(obj instanceof com.google.ortools.pdlp.QuadraticProgramStats)) {
1009 return super.equals(obj);
1010 }
1011 com.google.ortools.pdlp.QuadraticProgramStats other = (com.google.ortools.pdlp.QuadraticProgramStats) obj;
1012
1013 if (hasNumVariables() != other.hasNumVariables()) return false;
1014 if (hasNumVariables()) {
1015 if (getNumVariables()
1016 != other.getNumVariables()) return false;
1017 }
1018 if (hasNumConstraints() != other.hasNumConstraints()) return false;
1019 if (hasNumConstraints()) {
1020 if (getNumConstraints()
1021 != other.getNumConstraints()) return false;
1022 }
1025 if (java.lang.Double.doubleToLongBits(getConstraintMatrixColMinLInfNorm())
1026 != java.lang.Double.doubleToLongBits(
1027 other.getConstraintMatrixColMinLInfNorm())) return false;
1028 }
1031 if (java.lang.Double.doubleToLongBits(getConstraintMatrixRowMinLInfNorm())
1032 != java.lang.Double.doubleToLongBits(
1033 other.getConstraintMatrixRowMinLInfNorm())) return false;
1034 }
1038 != other.getConstraintMatrixNumNonzeros()) return false;
1039 }
1040 if (hasConstraintMatrixAbsMax() != other.hasConstraintMatrixAbsMax()) return false;
1042 if (java.lang.Double.doubleToLongBits(getConstraintMatrixAbsMax())
1043 != java.lang.Double.doubleToLongBits(
1044 other.getConstraintMatrixAbsMax())) return false;
1045 }
1046 if (hasConstraintMatrixAbsMin() != other.hasConstraintMatrixAbsMin()) return false;
1048 if (java.lang.Double.doubleToLongBits(getConstraintMatrixAbsMin())
1049 != java.lang.Double.doubleToLongBits(
1050 other.getConstraintMatrixAbsMin())) return false;
1051 }
1052 if (hasConstraintMatrixAbsAvg() != other.hasConstraintMatrixAbsAvg()) return false;
1054 if (java.lang.Double.doubleToLongBits(getConstraintMatrixAbsAvg())
1055 != java.lang.Double.doubleToLongBits(
1056 other.getConstraintMatrixAbsAvg())) return false;
1057 }
1058 if (hasConstraintMatrixL2Norm() != other.hasConstraintMatrixL2Norm()) return false;
1060 if (java.lang.Double.doubleToLongBits(getConstraintMatrixL2Norm())
1061 != java.lang.Double.doubleToLongBits(
1062 other.getConstraintMatrixL2Norm())) return false;
1063 }
1064 if (hasCombinedBoundsMax() != other.hasCombinedBoundsMax()) return false;
1065 if (hasCombinedBoundsMax()) {
1066 if (java.lang.Double.doubleToLongBits(getCombinedBoundsMax())
1067 != java.lang.Double.doubleToLongBits(
1068 other.getCombinedBoundsMax())) return false;
1069 }
1070 if (hasCombinedBoundsMin() != other.hasCombinedBoundsMin()) return false;
1071 if (hasCombinedBoundsMin()) {
1072 if (java.lang.Double.doubleToLongBits(getCombinedBoundsMin())
1073 != java.lang.Double.doubleToLongBits(
1074 other.getCombinedBoundsMin())) return false;
1075 }
1076 if (hasCombinedBoundsAvg() != other.hasCombinedBoundsAvg()) return false;
1077 if (hasCombinedBoundsAvg()) {
1078 if (java.lang.Double.doubleToLongBits(getCombinedBoundsAvg())
1079 != java.lang.Double.doubleToLongBits(
1080 other.getCombinedBoundsAvg())) return false;
1081 }
1082 if (hasCombinedBoundsL2Norm() != other.hasCombinedBoundsL2Norm()) return false;
1084 if (java.lang.Double.doubleToLongBits(getCombinedBoundsL2Norm())
1085 != java.lang.Double.doubleToLongBits(
1086 other.getCombinedBoundsL2Norm())) return false;
1087 }
1088 if (hasCombinedVariableBoundsMax() != other.hasCombinedVariableBoundsMax()) return false;
1090 if (java.lang.Double.doubleToLongBits(getCombinedVariableBoundsMax())
1091 != java.lang.Double.doubleToLongBits(
1092 other.getCombinedVariableBoundsMax())) return false;
1093 }
1094 if (hasCombinedVariableBoundsMin() != other.hasCombinedVariableBoundsMin()) return false;
1096 if (java.lang.Double.doubleToLongBits(getCombinedVariableBoundsMin())
1097 != java.lang.Double.doubleToLongBits(
1098 other.getCombinedVariableBoundsMin())) return false;
1099 }
1100 if (hasCombinedVariableBoundsAvg() != other.hasCombinedVariableBoundsAvg()) return false;
1102 if (java.lang.Double.doubleToLongBits(getCombinedVariableBoundsAvg())
1103 != java.lang.Double.doubleToLongBits(
1104 other.getCombinedVariableBoundsAvg())) return false;
1105 }
1108 if (java.lang.Double.doubleToLongBits(getCombinedVariableBoundsL2Norm())
1109 != java.lang.Double.doubleToLongBits(
1110 other.getCombinedVariableBoundsL2Norm())) return false;
1111 }
1112 if (hasVariableBoundGapsNumFinite() != other.hasVariableBoundGapsNumFinite()) return false;
1115 != other.getVariableBoundGapsNumFinite()) return false;
1116 }
1117 if (hasVariableBoundGapsMax() != other.hasVariableBoundGapsMax()) return false;
1119 if (java.lang.Double.doubleToLongBits(getVariableBoundGapsMax())
1120 != java.lang.Double.doubleToLongBits(
1121 other.getVariableBoundGapsMax())) return false;
1122 }
1123 if (hasVariableBoundGapsMin() != other.hasVariableBoundGapsMin()) return false;
1125 if (java.lang.Double.doubleToLongBits(getVariableBoundGapsMin())
1126 != java.lang.Double.doubleToLongBits(
1127 other.getVariableBoundGapsMin())) return false;
1128 }
1129 if (hasVariableBoundGapsAvg() != other.hasVariableBoundGapsAvg()) return false;
1131 if (java.lang.Double.doubleToLongBits(getVariableBoundGapsAvg())
1132 != java.lang.Double.doubleToLongBits(
1133 other.getVariableBoundGapsAvg())) return false;
1134 }
1135 if (hasVariableBoundGapsL2Norm() != other.hasVariableBoundGapsL2Norm()) return false;
1137 if (java.lang.Double.doubleToLongBits(getVariableBoundGapsL2Norm())
1138 != java.lang.Double.doubleToLongBits(
1139 other.getVariableBoundGapsL2Norm())) return false;
1140 }
1141 if (hasObjectiveVectorAbsMax() != other.hasObjectiveVectorAbsMax()) return false;
1143 if (java.lang.Double.doubleToLongBits(getObjectiveVectorAbsMax())
1144 != java.lang.Double.doubleToLongBits(
1145 other.getObjectiveVectorAbsMax())) return false;
1146 }
1147 if (hasObjectiveVectorAbsMin() != other.hasObjectiveVectorAbsMin()) return false;
1149 if (java.lang.Double.doubleToLongBits(getObjectiveVectorAbsMin())
1150 != java.lang.Double.doubleToLongBits(
1151 other.getObjectiveVectorAbsMin())) return false;
1152 }
1153 if (hasObjectiveVectorAbsAvg() != other.hasObjectiveVectorAbsAvg()) return false;
1155 if (java.lang.Double.doubleToLongBits(getObjectiveVectorAbsAvg())
1156 != java.lang.Double.doubleToLongBits(
1157 other.getObjectiveVectorAbsAvg())) return false;
1158 }
1159 if (hasObjectiveVectorL2Norm() != other.hasObjectiveVectorL2Norm()) return false;
1161 if (java.lang.Double.doubleToLongBits(getObjectiveVectorL2Norm())
1162 != java.lang.Double.doubleToLongBits(
1163 other.getObjectiveVectorL2Norm())) return false;
1164 }
1165 if (hasObjectiveMatrixNumNonzeros() != other.hasObjectiveMatrixNumNonzeros()) return false;
1168 != other.getObjectiveMatrixNumNonzeros()) return false;
1169 }
1170 if (hasObjectiveMatrixAbsMax() != other.hasObjectiveMatrixAbsMax()) return false;
1172 if (java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsMax())
1173 != java.lang.Double.doubleToLongBits(
1174 other.getObjectiveMatrixAbsMax())) return false;
1175 }
1176 if (hasObjectiveMatrixAbsMin() != other.hasObjectiveMatrixAbsMin()) return false;
1178 if (java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsMin())
1179 != java.lang.Double.doubleToLongBits(
1180 other.getObjectiveMatrixAbsMin())) return false;
1181 }
1182 if (hasObjectiveMatrixAbsAvg() != other.hasObjectiveMatrixAbsAvg()) return false;
1184 if (java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsAvg())
1185 != java.lang.Double.doubleToLongBits(
1186 other.getObjectiveMatrixAbsAvg())) return false;
1187 }
1188 if (hasObjectiveMatrixL2Norm() != other.hasObjectiveMatrixL2Norm()) return false;
1190 if (java.lang.Double.doubleToLongBits(getObjectiveMatrixL2Norm())
1191 != java.lang.Double.doubleToLongBits(
1192 other.getObjectiveMatrixL2Norm())) return false;
1193 }
1194 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1195 return true;
1196 }
1197
1198 @java.lang.Override
1199 public int hashCode() {
1200 if (memoizedHashCode != 0) {
1201 return memoizedHashCode;
1202 }
1203 int hash = 41;
1204 hash = (19 * hash) + getDescriptor().hashCode();
1205 if (hasNumVariables()) {
1206 hash = (37 * hash) + NUM_VARIABLES_FIELD_NUMBER;
1207 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1208 getNumVariables());
1209 }
1210 if (hasNumConstraints()) {
1211 hash = (37 * hash) + NUM_CONSTRAINTS_FIELD_NUMBER;
1212 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1214 }
1217 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1218 java.lang.Double.doubleToLongBits(getConstraintMatrixColMinLInfNorm()));
1219 }
1222 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1223 java.lang.Double.doubleToLongBits(getConstraintMatrixRowMinLInfNorm()));
1224 }
1227 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1229 }
1231 hash = (37 * hash) + CONSTRAINT_MATRIX_ABS_MAX_FIELD_NUMBER;
1232 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1233 java.lang.Double.doubleToLongBits(getConstraintMatrixAbsMax()));
1234 }
1236 hash = (37 * hash) + CONSTRAINT_MATRIX_ABS_MIN_FIELD_NUMBER;
1237 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1238 java.lang.Double.doubleToLongBits(getConstraintMatrixAbsMin()));
1239 }
1241 hash = (37 * hash) + CONSTRAINT_MATRIX_ABS_AVG_FIELD_NUMBER;
1242 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1243 java.lang.Double.doubleToLongBits(getConstraintMatrixAbsAvg()));
1244 }
1246 hash = (37 * hash) + CONSTRAINT_MATRIX_L2_NORM_FIELD_NUMBER;
1247 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1248 java.lang.Double.doubleToLongBits(getConstraintMatrixL2Norm()));
1249 }
1250 if (hasCombinedBoundsMax()) {
1251 hash = (37 * hash) + COMBINED_BOUNDS_MAX_FIELD_NUMBER;
1252 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1253 java.lang.Double.doubleToLongBits(getCombinedBoundsMax()));
1254 }
1255 if (hasCombinedBoundsMin()) {
1256 hash = (37 * hash) + COMBINED_BOUNDS_MIN_FIELD_NUMBER;
1257 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1258 java.lang.Double.doubleToLongBits(getCombinedBoundsMin()));
1259 }
1260 if (hasCombinedBoundsAvg()) {
1261 hash = (37 * hash) + COMBINED_BOUNDS_AVG_FIELD_NUMBER;
1262 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1263 java.lang.Double.doubleToLongBits(getCombinedBoundsAvg()));
1264 }
1266 hash = (37 * hash) + COMBINED_BOUNDS_L2_NORM_FIELD_NUMBER;
1267 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1268 java.lang.Double.doubleToLongBits(getCombinedBoundsL2Norm()));
1269 }
1271 hash = (37 * hash) + COMBINED_VARIABLE_BOUNDS_MAX_FIELD_NUMBER;
1272 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1273 java.lang.Double.doubleToLongBits(getCombinedVariableBoundsMax()));
1274 }
1276 hash = (37 * hash) + COMBINED_VARIABLE_BOUNDS_MIN_FIELD_NUMBER;
1277 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1278 java.lang.Double.doubleToLongBits(getCombinedVariableBoundsMin()));
1279 }
1281 hash = (37 * hash) + COMBINED_VARIABLE_BOUNDS_AVG_FIELD_NUMBER;
1282 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1283 java.lang.Double.doubleToLongBits(getCombinedVariableBoundsAvg()));
1284 }
1287 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1288 java.lang.Double.doubleToLongBits(getCombinedVariableBoundsL2Norm()));
1289 }
1292 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1294 }
1296 hash = (37 * hash) + VARIABLE_BOUND_GAPS_MAX_FIELD_NUMBER;
1297 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1298 java.lang.Double.doubleToLongBits(getVariableBoundGapsMax()));
1299 }
1301 hash = (37 * hash) + VARIABLE_BOUND_GAPS_MIN_FIELD_NUMBER;
1302 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1303 java.lang.Double.doubleToLongBits(getVariableBoundGapsMin()));
1304 }
1306 hash = (37 * hash) + VARIABLE_BOUND_GAPS_AVG_FIELD_NUMBER;
1307 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1308 java.lang.Double.doubleToLongBits(getVariableBoundGapsAvg()));
1309 }
1311 hash = (37 * hash) + VARIABLE_BOUND_GAPS_L2_NORM_FIELD_NUMBER;
1312 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1313 java.lang.Double.doubleToLongBits(getVariableBoundGapsL2Norm()));
1314 }
1316 hash = (37 * hash) + OBJECTIVE_VECTOR_ABS_MAX_FIELD_NUMBER;
1317 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1318 java.lang.Double.doubleToLongBits(getObjectiveVectorAbsMax()));
1319 }
1321 hash = (37 * hash) + OBJECTIVE_VECTOR_ABS_MIN_FIELD_NUMBER;
1322 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1323 java.lang.Double.doubleToLongBits(getObjectiveVectorAbsMin()));
1324 }
1326 hash = (37 * hash) + OBJECTIVE_VECTOR_ABS_AVG_FIELD_NUMBER;
1327 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1328 java.lang.Double.doubleToLongBits(getObjectiveVectorAbsAvg()));
1329 }
1331 hash = (37 * hash) + OBJECTIVE_VECTOR_L2_NORM_FIELD_NUMBER;
1332 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1333 java.lang.Double.doubleToLongBits(getObjectiveVectorL2Norm()));
1334 }
1336 hash = (37 * hash) + OBJECTIVE_MATRIX_NUM_NONZEROS_FIELD_NUMBER;
1337 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1339 }
1341 hash = (37 * hash) + OBJECTIVE_MATRIX_ABS_MAX_FIELD_NUMBER;
1342 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1343 java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsMax()));
1344 }
1346 hash = (37 * hash) + OBJECTIVE_MATRIX_ABS_MIN_FIELD_NUMBER;
1347 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1348 java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsMin()));
1349 }
1351 hash = (37 * hash) + OBJECTIVE_MATRIX_ABS_AVG_FIELD_NUMBER;
1352 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1353 java.lang.Double.doubleToLongBits(getObjectiveMatrixAbsAvg()));
1354 }
1356 hash = (37 * hash) + OBJECTIVE_MATRIX_L2_NORM_FIELD_NUMBER;
1357 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1358 java.lang.Double.doubleToLongBits(getObjectiveMatrixL2Norm()));
1359 }
1360 hash = (29 * hash) + getUnknownFields().hashCode();
1361 memoizedHashCode = hash;
1362 return hash;
1363 }
1364
1366 java.nio.ByteBuffer data)
1367 throws com.google.protobuf.InvalidProtocolBufferException {
1368 return PARSER.parseFrom(data);
1369 }
1371 java.nio.ByteBuffer data,
1372 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1373 throws com.google.protobuf.InvalidProtocolBufferException {
1374 return PARSER.parseFrom(data, extensionRegistry);
1375 }
1377 com.google.protobuf.ByteString data)
1378 throws com.google.protobuf.InvalidProtocolBufferException {
1379 return PARSER.parseFrom(data);
1380 }
1382 com.google.protobuf.ByteString data,
1383 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1384 throws com.google.protobuf.InvalidProtocolBufferException {
1385 return PARSER.parseFrom(data, extensionRegistry);
1386 }
1388 throws com.google.protobuf.InvalidProtocolBufferException {
1389 return PARSER.parseFrom(data);
1390 }
1392 byte[] data,
1393 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1394 throws com.google.protobuf.InvalidProtocolBufferException {
1395 return PARSER.parseFrom(data, extensionRegistry);
1396 }
1397 public static com.google.ortools.pdlp.QuadraticProgramStats parseFrom(java.io.InputStream input)
1398 throws java.io.IOException {
1399 return com.google.protobuf.GeneratedMessage
1400 .parseWithIOException(PARSER, input);
1401 }
1403 java.io.InputStream input,
1404 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1405 throws java.io.IOException {
1406 return com.google.protobuf.GeneratedMessage
1407 .parseWithIOException(PARSER, input, extensionRegistry);
1408 }
1409
1411 throws java.io.IOException {
1412 return com.google.protobuf.GeneratedMessage
1413 .parseDelimitedWithIOException(PARSER, input);
1414 }
1415
1417 java.io.InputStream input,
1418 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1419 throws java.io.IOException {
1420 return com.google.protobuf.GeneratedMessage
1421 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1422 }
1424 com.google.protobuf.CodedInputStream input)
1425 throws java.io.IOException {
1426 return com.google.protobuf.GeneratedMessage
1427 .parseWithIOException(PARSER, input);
1428 }
1430 com.google.protobuf.CodedInputStream input,
1431 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1432 throws java.io.IOException {
1433 return com.google.protobuf.GeneratedMessage
1434 .parseWithIOException(PARSER, input, extensionRegistry);
1435 }
1436
1437 @java.lang.Override
1438 public Builder newBuilderForType() { return newBuilder(); }
1439 public static Builder newBuilder() {
1440 return DEFAULT_INSTANCE.toBuilder();
1441 }
1442 public static Builder newBuilder(com.google.ortools.pdlp.QuadraticProgramStats prototype) {
1443 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1444 }
1445 @java.lang.Override
1447 return this == DEFAULT_INSTANCE
1448 ? new Builder() : new Builder().mergeFrom(this);
1449 }
1450
1451 @java.lang.Override
1453 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1454 Builder builder = new Builder(parent);
1455 return builder;
1456 }
1457
1464 public static final class Builder extends
1465 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
1466 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.QuadraticProgramStats)
1468 public static final com.google.protobuf.Descriptors.Descriptor
1470 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_descriptor;
1471 }
1472
1473 @java.lang.Override
1474 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1476 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_fieldAccessorTable
1477 .ensureFieldAccessorsInitialized(
1478 com.google.ortools.pdlp.QuadraticProgramStats.class, com.google.ortools.pdlp.QuadraticProgramStats.Builder.class);
1479 }
1480
1481 // Construct using com.google.ortools.pdlp.QuadraticProgramStats.newBuilder()
1482 private Builder() {
1483
1484 }
1485
1486 private Builder(
1487 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1488 super(parent);
1489
1490 }
1491 @java.lang.Override
1492 public Builder clear() {
1493 super.clear();
1494 bitField0_ = 0;
1495 numVariables_ = 0L;
1496 numConstraints_ = 0L;
1497 constraintMatrixColMinLInfNorm_ = 0D;
1498 constraintMatrixRowMinLInfNorm_ = 0D;
1499 constraintMatrixNumNonzeros_ = 0L;
1500 constraintMatrixAbsMax_ = 0D;
1501 constraintMatrixAbsMin_ = 0D;
1502 constraintMatrixAbsAvg_ = 0D;
1503 constraintMatrixL2Norm_ = 0D;
1504 combinedBoundsMax_ = 0D;
1505 combinedBoundsMin_ = 0D;
1506 combinedBoundsAvg_ = 0D;
1507 combinedBoundsL2Norm_ = 0D;
1508 combinedVariableBoundsMax_ = 0D;
1509 combinedVariableBoundsMin_ = 0D;
1510 combinedVariableBoundsAvg_ = 0D;
1511 combinedVariableBoundsL2Norm_ = 0D;
1512 variableBoundGapsNumFinite_ = 0L;
1513 variableBoundGapsMax_ = 0D;
1514 variableBoundGapsMin_ = 0D;
1515 variableBoundGapsAvg_ = 0D;
1516 variableBoundGapsL2Norm_ = 0D;
1517 objectiveVectorAbsMax_ = 0D;
1518 objectiveVectorAbsMin_ = 0D;
1519 objectiveVectorAbsAvg_ = 0D;
1520 objectiveVectorL2Norm_ = 0D;
1521 objectiveMatrixNumNonzeros_ = 0L;
1522 objectiveMatrixAbsMax_ = 0D;
1523 objectiveMatrixAbsMin_ = 0D;
1524 objectiveMatrixAbsAvg_ = 0D;
1525 objectiveMatrixL2Norm_ = 0D;
1526 return this;
1527 }
1528
1529 @java.lang.Override
1530 public com.google.protobuf.Descriptors.Descriptor
1532 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_QuadraticProgramStats_descriptor;
1533 }
1534
1535 @java.lang.Override
1537 return com.google.ortools.pdlp.QuadraticProgramStats.getDefaultInstance();
1538 }
1539
1540 @java.lang.Override
1543 if (!result.isInitialized()) {
1544 throw newUninitializedMessageException(result);
1545 }
1546 return result;
1547 }
1548
1549 @java.lang.Override
1551 com.google.ortools.pdlp.QuadraticProgramStats result = new com.google.ortools.pdlp.QuadraticProgramStats(this);
1552 if (bitField0_ != 0) { buildPartial0(result); }
1553 onBuilt();
1554 return result;
1555 }
1556
1557 private void buildPartial0(com.google.ortools.pdlp.QuadraticProgramStats result) {
1558 int from_bitField0_ = bitField0_;
1559 int to_bitField0_ = 0;
1560 if (((from_bitField0_ & 0x00000001) != 0)) {
1561 result.numVariables_ = numVariables_;
1562 to_bitField0_ |= 0x00000001;
1563 }
1564 if (((from_bitField0_ & 0x00000002) != 0)) {
1565 result.numConstraints_ = numConstraints_;
1566 to_bitField0_ |= 0x00000002;
1567 }
1568 if (((from_bitField0_ & 0x00000004) != 0)) {
1569 result.constraintMatrixColMinLInfNorm_ = constraintMatrixColMinLInfNorm_;
1570 to_bitField0_ |= 0x00000004;
1571 }
1572 if (((from_bitField0_ & 0x00000008) != 0)) {
1573 result.constraintMatrixRowMinLInfNorm_ = constraintMatrixRowMinLInfNorm_;
1574 to_bitField0_ |= 0x00000008;
1575 }
1576 if (((from_bitField0_ & 0x00000010) != 0)) {
1577 result.constraintMatrixNumNonzeros_ = constraintMatrixNumNonzeros_;
1578 to_bitField0_ |= 0x00000010;
1579 }
1580 if (((from_bitField0_ & 0x00000020) != 0)) {
1581 result.constraintMatrixAbsMax_ = constraintMatrixAbsMax_;
1582 to_bitField0_ |= 0x00000020;
1583 }
1584 if (((from_bitField0_ & 0x00000040) != 0)) {
1585 result.constraintMatrixAbsMin_ = constraintMatrixAbsMin_;
1586 to_bitField0_ |= 0x00000040;
1587 }
1588 if (((from_bitField0_ & 0x00000080) != 0)) {
1589 result.constraintMatrixAbsAvg_ = constraintMatrixAbsAvg_;
1590 to_bitField0_ |= 0x00000080;
1591 }
1592 if (((from_bitField0_ & 0x00000100) != 0)) {
1593 result.constraintMatrixL2Norm_ = constraintMatrixL2Norm_;
1594 to_bitField0_ |= 0x00000100;
1595 }
1596 if (((from_bitField0_ & 0x00000200) != 0)) {
1597 result.combinedBoundsMax_ = combinedBoundsMax_;
1598 to_bitField0_ |= 0x00000200;
1599 }
1600 if (((from_bitField0_ & 0x00000400) != 0)) {
1601 result.combinedBoundsMin_ = combinedBoundsMin_;
1602 to_bitField0_ |= 0x00000400;
1603 }
1604 if (((from_bitField0_ & 0x00000800) != 0)) {
1605 result.combinedBoundsAvg_ = combinedBoundsAvg_;
1606 to_bitField0_ |= 0x00000800;
1607 }
1608 if (((from_bitField0_ & 0x00001000) != 0)) {
1609 result.combinedBoundsL2Norm_ = combinedBoundsL2Norm_;
1610 to_bitField0_ |= 0x00001000;
1611 }
1612 if (((from_bitField0_ & 0x00002000) != 0)) {
1613 result.combinedVariableBoundsMax_ = combinedVariableBoundsMax_;
1614 to_bitField0_ |= 0x00002000;
1615 }
1616 if (((from_bitField0_ & 0x00004000) != 0)) {
1617 result.combinedVariableBoundsMin_ = combinedVariableBoundsMin_;
1618 to_bitField0_ |= 0x00004000;
1619 }
1620 if (((from_bitField0_ & 0x00008000) != 0)) {
1621 result.combinedVariableBoundsAvg_ = combinedVariableBoundsAvg_;
1622 to_bitField0_ |= 0x00008000;
1623 }
1624 if (((from_bitField0_ & 0x00010000) != 0)) {
1625 result.combinedVariableBoundsL2Norm_ = combinedVariableBoundsL2Norm_;
1626 to_bitField0_ |= 0x00010000;
1627 }
1628 if (((from_bitField0_ & 0x00020000) != 0)) {
1629 result.variableBoundGapsNumFinite_ = variableBoundGapsNumFinite_;
1630 to_bitField0_ |= 0x00020000;
1631 }
1632 if (((from_bitField0_ & 0x00040000) != 0)) {
1633 result.variableBoundGapsMax_ = variableBoundGapsMax_;
1634 to_bitField0_ |= 0x00040000;
1635 }
1636 if (((from_bitField0_ & 0x00080000) != 0)) {
1637 result.variableBoundGapsMin_ = variableBoundGapsMin_;
1638 to_bitField0_ |= 0x00080000;
1639 }
1640 if (((from_bitField0_ & 0x00100000) != 0)) {
1641 result.variableBoundGapsAvg_ = variableBoundGapsAvg_;
1642 to_bitField0_ |= 0x00100000;
1643 }
1644 if (((from_bitField0_ & 0x00200000) != 0)) {
1645 result.variableBoundGapsL2Norm_ = variableBoundGapsL2Norm_;
1646 to_bitField0_ |= 0x00200000;
1647 }
1648 if (((from_bitField0_ & 0x00400000) != 0)) {
1649 result.objectiveVectorAbsMax_ = objectiveVectorAbsMax_;
1650 to_bitField0_ |= 0x00400000;
1651 }
1652 if (((from_bitField0_ & 0x00800000) != 0)) {
1653 result.objectiveVectorAbsMin_ = objectiveVectorAbsMin_;
1654 to_bitField0_ |= 0x00800000;
1655 }
1656 if (((from_bitField0_ & 0x01000000) != 0)) {
1657 result.objectiveVectorAbsAvg_ = objectiveVectorAbsAvg_;
1658 to_bitField0_ |= 0x01000000;
1659 }
1660 if (((from_bitField0_ & 0x02000000) != 0)) {
1661 result.objectiveVectorL2Norm_ = objectiveVectorL2Norm_;
1662 to_bitField0_ |= 0x02000000;
1663 }
1664 if (((from_bitField0_ & 0x04000000) != 0)) {
1665 result.objectiveMatrixNumNonzeros_ = objectiveMatrixNumNonzeros_;
1666 to_bitField0_ |= 0x04000000;
1667 }
1668 if (((from_bitField0_ & 0x08000000) != 0)) {
1669 result.objectiveMatrixAbsMax_ = objectiveMatrixAbsMax_;
1670 to_bitField0_ |= 0x08000000;
1671 }
1672 if (((from_bitField0_ & 0x10000000) != 0)) {
1673 result.objectiveMatrixAbsMin_ = objectiveMatrixAbsMin_;
1674 to_bitField0_ |= 0x10000000;
1675 }
1676 if (((from_bitField0_ & 0x20000000) != 0)) {
1677 result.objectiveMatrixAbsAvg_ = objectiveMatrixAbsAvg_;
1678 to_bitField0_ |= 0x20000000;
1679 }
1680 if (((from_bitField0_ & 0x40000000) != 0)) {
1681 result.objectiveMatrixL2Norm_ = objectiveMatrixL2Norm_;
1682 to_bitField0_ |= 0x40000000;
1683 }
1684 result.bitField0_ |= to_bitField0_;
1685 }
1686
1687 @java.lang.Override
1688 public Builder mergeFrom(com.google.protobuf.Message other) {
1689 if (other instanceof com.google.ortools.pdlp.QuadraticProgramStats) {
1690 return mergeFrom((com.google.ortools.pdlp.QuadraticProgramStats)other);
1691 } else {
1692 super.mergeFrom(other);
1693 return this;
1694 }
1695 }
1696
1697 public Builder mergeFrom(com.google.ortools.pdlp.QuadraticProgramStats other) {
1698 if (other == com.google.ortools.pdlp.QuadraticProgramStats.getDefaultInstance()) return this;
1699 if (other.hasNumVariables()) {
1700 setNumVariables(other.getNumVariables());
1701 }
1702 if (other.hasNumConstraints()) {
1703 setNumConstraints(other.getNumConstraints());
1704 }
1705 if (other.hasConstraintMatrixColMinLInfNorm()) {
1706 setConstraintMatrixColMinLInfNorm(other.getConstraintMatrixColMinLInfNorm());
1707 }
1708 if (other.hasConstraintMatrixRowMinLInfNorm()) {
1709 setConstraintMatrixRowMinLInfNorm(other.getConstraintMatrixRowMinLInfNorm());
1710 }
1711 if (other.hasConstraintMatrixNumNonzeros()) {
1712 setConstraintMatrixNumNonzeros(other.getConstraintMatrixNumNonzeros());
1713 }
1714 if (other.hasConstraintMatrixAbsMax()) {
1715 setConstraintMatrixAbsMax(other.getConstraintMatrixAbsMax());
1716 }
1717 if (other.hasConstraintMatrixAbsMin()) {
1718 setConstraintMatrixAbsMin(other.getConstraintMatrixAbsMin());
1719 }
1720 if (other.hasConstraintMatrixAbsAvg()) {
1721 setConstraintMatrixAbsAvg(other.getConstraintMatrixAbsAvg());
1722 }
1723 if (other.hasConstraintMatrixL2Norm()) {
1724 setConstraintMatrixL2Norm(other.getConstraintMatrixL2Norm());
1725 }
1726 if (other.hasCombinedBoundsMax()) {
1727 setCombinedBoundsMax(other.getCombinedBoundsMax());
1728 }
1729 if (other.hasCombinedBoundsMin()) {
1730 setCombinedBoundsMin(other.getCombinedBoundsMin());
1731 }
1732 if (other.hasCombinedBoundsAvg()) {
1733 setCombinedBoundsAvg(other.getCombinedBoundsAvg());
1734 }
1735 if (other.hasCombinedBoundsL2Norm()) {
1736 setCombinedBoundsL2Norm(other.getCombinedBoundsL2Norm());
1737 }
1738 if (other.hasCombinedVariableBoundsMax()) {
1739 setCombinedVariableBoundsMax(other.getCombinedVariableBoundsMax());
1740 }
1741 if (other.hasCombinedVariableBoundsMin()) {
1742 setCombinedVariableBoundsMin(other.getCombinedVariableBoundsMin());
1743 }
1744 if (other.hasCombinedVariableBoundsAvg()) {
1745 setCombinedVariableBoundsAvg(other.getCombinedVariableBoundsAvg());
1746 }
1747 if (other.hasCombinedVariableBoundsL2Norm()) {
1748 setCombinedVariableBoundsL2Norm(other.getCombinedVariableBoundsL2Norm());
1749 }
1750 if (other.hasVariableBoundGapsNumFinite()) {
1751 setVariableBoundGapsNumFinite(other.getVariableBoundGapsNumFinite());
1752 }
1753 if (other.hasVariableBoundGapsMax()) {
1754 setVariableBoundGapsMax(other.getVariableBoundGapsMax());
1755 }
1756 if (other.hasVariableBoundGapsMin()) {
1757 setVariableBoundGapsMin(other.getVariableBoundGapsMin());
1758 }
1759 if (other.hasVariableBoundGapsAvg()) {
1760 setVariableBoundGapsAvg(other.getVariableBoundGapsAvg());
1761 }
1762 if (other.hasVariableBoundGapsL2Norm()) {
1763 setVariableBoundGapsL2Norm(other.getVariableBoundGapsL2Norm());
1764 }
1765 if (other.hasObjectiveVectorAbsMax()) {
1766 setObjectiveVectorAbsMax(other.getObjectiveVectorAbsMax());
1767 }
1768 if (other.hasObjectiveVectorAbsMin()) {
1769 setObjectiveVectorAbsMin(other.getObjectiveVectorAbsMin());
1770 }
1771 if (other.hasObjectiveVectorAbsAvg()) {
1772 setObjectiveVectorAbsAvg(other.getObjectiveVectorAbsAvg());
1773 }
1774 if (other.hasObjectiveVectorL2Norm()) {
1775 setObjectiveVectorL2Norm(other.getObjectiveVectorL2Norm());
1776 }
1777 if (other.hasObjectiveMatrixNumNonzeros()) {
1778 setObjectiveMatrixNumNonzeros(other.getObjectiveMatrixNumNonzeros());
1779 }
1780 if (other.hasObjectiveMatrixAbsMax()) {
1781 setObjectiveMatrixAbsMax(other.getObjectiveMatrixAbsMax());
1782 }
1783 if (other.hasObjectiveMatrixAbsMin()) {
1784 setObjectiveMatrixAbsMin(other.getObjectiveMatrixAbsMin());
1785 }
1786 if (other.hasObjectiveMatrixAbsAvg()) {
1787 setObjectiveMatrixAbsAvg(other.getObjectiveMatrixAbsAvg());
1788 }
1789 if (other.hasObjectiveMatrixL2Norm()) {
1790 setObjectiveMatrixL2Norm(other.getObjectiveMatrixL2Norm());
1791 }
1792 this.mergeUnknownFields(other.getUnknownFields());
1793 onChanged();
1794 return this;
1795 }
1796
1797 @java.lang.Override
1798 public final boolean isInitialized() {
1799 return true;
1800 }
1801
1802 @java.lang.Override
1803 public Builder mergeFrom(
1804 com.google.protobuf.CodedInputStream input,
1805 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1806 throws java.io.IOException {
1807 if (extensionRegistry == null) {
1808 throw new java.lang.NullPointerException();
1809 }
1810 try {
1811 boolean done = false;
1812 while (!done) {
1813 int tag = input.readTag();
1814 switch (tag) {
1815 case 0:
1816 done = true;
1817 break;
1818 case 8: {
1819 numVariables_ = input.readInt64();
1820 bitField0_ |= 0x00000001;
1821 break;
1822 } // case 8
1823 case 16: {
1824 numConstraints_ = input.readInt64();
1825 bitField0_ |= 0x00000002;
1826 break;
1827 } // case 16
1828 case 25: {
1829 constraintMatrixColMinLInfNorm_ = input.readDouble();
1830 bitField0_ |= 0x00000004;
1831 break;
1832 } // case 25
1833 case 33: {
1834 constraintMatrixRowMinLInfNorm_ = input.readDouble();
1835 bitField0_ |= 0x00000008;
1836 break;
1837 } // case 33
1838 case 40: {
1839 constraintMatrixNumNonzeros_ = input.readInt64();
1840 bitField0_ |= 0x00000010;
1841 break;
1842 } // case 40
1843 case 49: {
1844 constraintMatrixAbsMax_ = input.readDouble();
1845 bitField0_ |= 0x00000020;
1846 break;
1847 } // case 49
1848 case 57: {
1849 constraintMatrixAbsMin_ = input.readDouble();
1850 bitField0_ |= 0x00000040;
1851 break;
1852 } // case 57
1853 case 65: {
1854 constraintMatrixAbsAvg_ = input.readDouble();
1855 bitField0_ |= 0x00000080;
1856 break;
1857 } // case 65
1858 case 73: {
1859 combinedBoundsMax_ = input.readDouble();
1860 bitField0_ |= 0x00000200;
1861 break;
1862 } // case 73
1863 case 81: {
1864 combinedBoundsMin_ = input.readDouble();
1865 bitField0_ |= 0x00000400;
1866 break;
1867 } // case 81
1868 case 89: {
1869 combinedBoundsAvg_ = input.readDouble();
1870 bitField0_ |= 0x00000800;
1871 break;
1872 } // case 89
1873 case 96: {
1874 variableBoundGapsNumFinite_ = input.readInt64();
1875 bitField0_ |= 0x00020000;
1876 break;
1877 } // case 96
1878 case 105: {
1879 variableBoundGapsMax_ = input.readDouble();
1880 bitField0_ |= 0x00040000;
1881 break;
1882 } // case 105
1883 case 113: {
1884 variableBoundGapsMin_ = input.readDouble();
1885 bitField0_ |= 0x00080000;
1886 break;
1887 } // case 113
1888 case 121: {
1889 variableBoundGapsAvg_ = input.readDouble();
1890 bitField0_ |= 0x00100000;
1891 break;
1892 } // case 121
1893 case 129: {
1894 objectiveVectorAbsMax_ = input.readDouble();
1895 bitField0_ |= 0x00400000;
1896 break;
1897 } // case 129
1898 case 137: {
1899 objectiveVectorAbsMin_ = input.readDouble();
1900 bitField0_ |= 0x00800000;
1901 break;
1902 } // case 137
1903 case 145: {
1904 objectiveVectorAbsAvg_ = input.readDouble();
1905 bitField0_ |= 0x01000000;
1906 break;
1907 } // case 145
1908 case 152: {
1909 objectiveMatrixNumNonzeros_ = input.readInt64();
1910 bitField0_ |= 0x04000000;
1911 break;
1912 } // case 152
1913 case 161: {
1914 objectiveMatrixAbsMax_ = input.readDouble();
1915 bitField0_ |= 0x08000000;
1916 break;
1917 } // case 161
1918 case 169: {
1919 objectiveMatrixAbsMin_ = input.readDouble();
1920 bitField0_ |= 0x10000000;
1921 break;
1922 } // case 169
1923 case 177: {
1924 objectiveMatrixAbsAvg_ = input.readDouble();
1925 bitField0_ |= 0x20000000;
1926 break;
1927 } // case 177
1928 case 185: {
1929 objectiveVectorL2Norm_ = input.readDouble();
1930 bitField0_ |= 0x02000000;
1931 break;
1932 } // case 185
1933 case 193: {
1934 combinedBoundsL2Norm_ = input.readDouble();
1935 bitField0_ |= 0x00001000;
1936 break;
1937 } // case 193
1938 case 201: {
1939 constraintMatrixL2Norm_ = input.readDouble();
1940 bitField0_ |= 0x00000100;
1941 break;
1942 } // case 201
1943 case 209: {
1944 variableBoundGapsL2Norm_ = input.readDouble();
1945 bitField0_ |= 0x00200000;
1946 break;
1947 } // case 209
1948 case 217: {
1949 objectiveMatrixL2Norm_ = input.readDouble();
1950 bitField0_ |= 0x40000000;
1951 break;
1952 } // case 217
1953 case 225: {
1954 combinedVariableBoundsMax_ = input.readDouble();
1955 bitField0_ |= 0x00002000;
1956 break;
1957 } // case 225
1958 case 233: {
1959 combinedVariableBoundsMin_ = input.readDouble();
1960 bitField0_ |= 0x00004000;
1961 break;
1962 } // case 233
1963 case 241: {
1964 combinedVariableBoundsAvg_ = input.readDouble();
1965 bitField0_ |= 0x00008000;
1966 break;
1967 } // case 241
1968 case 249: {
1969 combinedVariableBoundsL2Norm_ = input.readDouble();
1970 bitField0_ |= 0x00010000;
1971 break;
1972 } // case 249
1973 default: {
1974 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1975 done = true; // was an endgroup tag
1976 }
1977 break;
1978 } // default:
1979 } // switch (tag)
1980 } // while (!done)
1981 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1982 throw e.unwrapIOException();
1983 } finally {
1984 onChanged();
1985 } // finally
1986 return this;
1987 }
1988 private int bitField0_;
1989
1990 private long numVariables_ ;
1995 @java.lang.Override
1996 public boolean hasNumVariables() {
1997 return ((bitField0_ & 0x00000001) != 0);
1998 }
1999
2003 @java.lang.Override
2004 public long getNumVariables() {
2005 return numVariables_;
2006 }
2007
2012 public Builder setNumVariables(long value) {
2013
2014 numVariables_ = value;
2015 bitField0_ |= 0x00000001;
2016 onChanged();
2017 return this;
2018 }
2019
2023 public Builder clearNumVariables() {
2024 bitField0_ = (bitField0_ & ~0x00000001);
2025 numVariables_ = 0L;
2026 onChanged();
2027 return this;
2028 }
2029
2030 private long numConstraints_ ;
2035 @java.lang.Override
2036 public boolean hasNumConstraints() {
2037 return ((bitField0_ & 0x00000002) != 0);
2038 }
2039
2043 @java.lang.Override
2044 public long getNumConstraints() {
2045 return numConstraints_;
2046 }
2047
2052 public Builder setNumConstraints(long value) {
2053
2054 numConstraints_ = value;
2055 bitField0_ |= 0x00000002;
2056 onChanged();
2057 return this;
2058 }
2059
2063 public Builder clearNumConstraints() {
2064 bitField0_ = (bitField0_ & ~0x00000002);
2065 numConstraints_ = 0L;
2066 onChanged();
2067 return this;
2068 }
2069
2070 private double constraintMatrixColMinLInfNorm_ ;
2081 @java.lang.Override
2083 return ((bitField0_ & 0x00000004) != 0);
2084 }
2085
2095 @java.lang.Override
2097 return constraintMatrixColMinLInfNorm_;
2098 }
2099
2110 public Builder setConstraintMatrixColMinLInfNorm(double value) {
2111
2112 constraintMatrixColMinLInfNorm_ = value;
2113 bitField0_ |= 0x00000004;
2114 onChanged();
2115 return this;
2116 }
2117
2128 bitField0_ = (bitField0_ & ~0x00000004);
2129 constraintMatrixColMinLInfNorm_ = 0D;
2130 onChanged();
2131 return this;
2132 }
2133
2134 private double constraintMatrixRowMinLInfNorm_ ;
2139 @java.lang.Override
2141 return ((bitField0_ & 0x00000008) != 0);
2142 }
2143
2147 @java.lang.Override
2149 return constraintMatrixRowMinLInfNorm_;
2150 }
2151
2156 public Builder setConstraintMatrixRowMinLInfNorm(double value) {
2157
2158 constraintMatrixRowMinLInfNorm_ = value;
2159 bitField0_ |= 0x00000008;
2160 onChanged();
2161 return this;
2162 }
2163
2168 bitField0_ = (bitField0_ & ~0x00000008);
2169 constraintMatrixRowMinLInfNorm_ = 0D;
2170 onChanged();
2171 return this;
2172 }
2173
2174 private long constraintMatrixNumNonzeros_ ;
2183 @java.lang.Override
2185 return ((bitField0_ & 0x00000010) != 0);
2186 }
2187
2195 @java.lang.Override
2197 return constraintMatrixNumNonzeros_;
2198 }
2199
2208 public Builder setConstraintMatrixNumNonzeros(long value) {
2209
2210 constraintMatrixNumNonzeros_ = value;
2211 bitField0_ |= 0x00000010;
2212 onChanged();
2213 return this;
2214 }
2215
2224 bitField0_ = (bitField0_ & ~0x00000010);
2225 constraintMatrixNumNonzeros_ = 0L;
2226 onChanged();
2227 return this;
2228 }
2229
2230 private double constraintMatrixAbsMax_ ;
2244 @java.lang.Override
2245 public boolean hasConstraintMatrixAbsMax() {
2246 return ((bitField0_ & 0x00000020) != 0);
2247 }
2248
2261 @java.lang.Override
2263 return constraintMatrixAbsMax_;
2264 }
2265
2279 public Builder setConstraintMatrixAbsMax(double value) {
2280
2281 constraintMatrixAbsMax_ = value;
2282 bitField0_ |= 0x00000020;
2283 onChanged();
2284 return this;
2285 }
2286
2300 bitField0_ = (bitField0_ & ~0x00000020);
2301 constraintMatrixAbsMax_ = 0D;
2302 onChanged();
2303 return this;
2304 }
2305
2306 private double constraintMatrixAbsMin_ ;
2311 @java.lang.Override
2312 public boolean hasConstraintMatrixAbsMin() {
2313 return ((bitField0_ & 0x00000040) != 0);
2314 }
2315
2319 @java.lang.Override
2321 return constraintMatrixAbsMin_;
2322 }
2323
2328 public Builder setConstraintMatrixAbsMin(double value) {
2329
2330 constraintMatrixAbsMin_ = value;
2331 bitField0_ |= 0x00000040;
2332 onChanged();
2333 return this;
2334 }
2335
2340 bitField0_ = (bitField0_ & ~0x00000040);
2341 constraintMatrixAbsMin_ = 0D;
2342 onChanged();
2343 return this;
2344 }
2345
2346 private double constraintMatrixAbsAvg_ ;
2351 @java.lang.Override
2352 public boolean hasConstraintMatrixAbsAvg() {
2353 return ((bitField0_ & 0x00000080) != 0);
2354 }
2355
2359 @java.lang.Override
2361 return constraintMatrixAbsAvg_;
2362 }
2363
2368 public Builder setConstraintMatrixAbsAvg(double value) {
2369
2370 constraintMatrixAbsAvg_ = value;
2371 bitField0_ |= 0x00000080;
2372 onChanged();
2373 return this;
2374 }
2375
2380 bitField0_ = (bitField0_ & ~0x00000080);
2381 constraintMatrixAbsAvg_ = 0D;
2382 onChanged();
2383 return this;
2384 }
2385
2386 private double constraintMatrixL2Norm_ ;
2391 @java.lang.Override
2392 public boolean hasConstraintMatrixL2Norm() {
2393 return ((bitField0_ & 0x00000100) != 0);
2394 }
2395
2399 @java.lang.Override
2401 return constraintMatrixL2Norm_;
2402 }
2403
2408 public Builder setConstraintMatrixL2Norm(double value) {
2409
2410 constraintMatrixL2Norm_ = value;
2411 bitField0_ |= 0x00000100;
2412 onChanged();
2413 return this;
2414 }
2415
2420 bitField0_ = (bitField0_ & ~0x00000100);
2421 constraintMatrixL2Norm_ = 0D;
2422 onChanged();
2423 return this;
2424 }
2425
2426 private double combinedBoundsMax_ ;
2441 @java.lang.Override
2442 public boolean hasCombinedBoundsMax() {
2443 return ((bitField0_ & 0x00000200) != 0);
2444 }
2445
2459 @java.lang.Override
2460 public double getCombinedBoundsMax() {
2461 return combinedBoundsMax_;
2462 }
2463
2478 public Builder setCombinedBoundsMax(double value) {
2479
2480 combinedBoundsMax_ = value;
2481 bitField0_ |= 0x00000200;
2482 onChanged();
2483 return this;
2484 }
2485
2499 public Builder clearCombinedBoundsMax() {
2500 bitField0_ = (bitField0_ & ~0x00000200);
2501 combinedBoundsMax_ = 0D;
2502 onChanged();
2503 return this;
2504 }
2505
2506 private double combinedBoundsMin_ ;
2511 @java.lang.Override
2512 public boolean hasCombinedBoundsMin() {
2513 return ((bitField0_ & 0x00000400) != 0);
2514 }
2515
2519 @java.lang.Override
2520 public double getCombinedBoundsMin() {
2521 return combinedBoundsMin_;
2522 }
2523
2528 public Builder setCombinedBoundsMin(double value) {
2529
2530 combinedBoundsMin_ = value;
2531 bitField0_ |= 0x00000400;
2532 onChanged();
2533 return this;
2534 }
2535
2539 public Builder clearCombinedBoundsMin() {
2540 bitField0_ = (bitField0_ & ~0x00000400);
2541 combinedBoundsMin_ = 0D;
2542 onChanged();
2543 return this;
2544 }
2545
2546 private double combinedBoundsAvg_ ;
2551 @java.lang.Override
2552 public boolean hasCombinedBoundsAvg() {
2553 return ((bitField0_ & 0x00000800) != 0);
2554 }
2555
2559 @java.lang.Override
2560 public double getCombinedBoundsAvg() {
2561 return combinedBoundsAvg_;
2562 }
2563
2568 public Builder setCombinedBoundsAvg(double value) {
2569
2570 combinedBoundsAvg_ = value;
2571 bitField0_ |= 0x00000800;
2572 onChanged();
2573 return this;
2574 }
2575
2579 public Builder clearCombinedBoundsAvg() {
2580 bitField0_ = (bitField0_ & ~0x00000800);
2581 combinedBoundsAvg_ = 0D;
2582 onChanged();
2583 return this;
2584 }
2585
2586 private double combinedBoundsL2Norm_ ;
2591 @java.lang.Override
2592 public boolean hasCombinedBoundsL2Norm() {
2593 return ((bitField0_ & 0x00001000) != 0);
2594 }
2595
2599 @java.lang.Override
2600 public double getCombinedBoundsL2Norm() {
2601 return combinedBoundsL2Norm_;
2602 }
2603
2608 public Builder setCombinedBoundsL2Norm(double value) {
2609
2610 combinedBoundsL2Norm_ = value;
2611 bitField0_ |= 0x00001000;
2612 onChanged();
2613 return this;
2614 }
2615
2619 public Builder clearCombinedBoundsL2Norm() {
2620 bitField0_ = (bitField0_ & ~0x00001000);
2621 combinedBoundsL2Norm_ = 0D;
2622 onChanged();
2623 return this;
2624 }
2625
2626 private double combinedVariableBoundsMax_ ;
2639 @java.lang.Override
2641 return ((bitField0_ & 0x00002000) != 0);
2642 }
2643
2655 @java.lang.Override
2657 return combinedVariableBoundsMax_;
2658 }
2659
2672 public Builder setCombinedVariableBoundsMax(double value) {
2673
2674 combinedVariableBoundsMax_ = value;
2675 bitField0_ |= 0x00002000;
2676 onChanged();
2677 return this;
2678 }
2679
2692 bitField0_ = (bitField0_ & ~0x00002000);
2693 combinedVariableBoundsMax_ = 0D;
2694 onChanged();
2695 return this;
2696 }
2697
2698 private double combinedVariableBoundsMin_ ;
2703 @java.lang.Override
2705 return ((bitField0_ & 0x00004000) != 0);
2706 }
2707
2711 @java.lang.Override
2713 return combinedVariableBoundsMin_;
2714 }
2715
2720 public Builder setCombinedVariableBoundsMin(double value) {
2721
2722 combinedVariableBoundsMin_ = value;
2723 bitField0_ |= 0x00004000;
2724 onChanged();
2725 return this;
2726 }
2727
2732 bitField0_ = (bitField0_ & ~0x00004000);
2733 combinedVariableBoundsMin_ = 0D;
2734 onChanged();
2735 return this;
2736 }
2737
2738 private double combinedVariableBoundsAvg_ ;
2743 @java.lang.Override
2745 return ((bitField0_ & 0x00008000) != 0);
2746 }
2747
2751 @java.lang.Override
2753 return combinedVariableBoundsAvg_;
2754 }
2755
2760 public Builder setCombinedVariableBoundsAvg(double value) {
2761
2762 combinedVariableBoundsAvg_ = value;
2763 bitField0_ |= 0x00008000;
2764 onChanged();
2765 return this;
2766 }
2767
2772 bitField0_ = (bitField0_ & ~0x00008000);
2773 combinedVariableBoundsAvg_ = 0D;
2774 onChanged();
2775 return this;
2776 }
2777
2778 private double combinedVariableBoundsL2Norm_ ;
2783 @java.lang.Override
2785 return ((bitField0_ & 0x00010000) != 0);
2786 }
2787
2791 @java.lang.Override
2793 return combinedVariableBoundsL2Norm_;
2794 }
2795
2800 public Builder setCombinedVariableBoundsL2Norm(double value) {
2801
2802 combinedVariableBoundsL2Norm_ = value;
2803 bitField0_ |= 0x00010000;
2804 onChanged();
2805 return this;
2806 }
2807
2812 bitField0_ = (bitField0_ & ~0x00010000);
2813 combinedVariableBoundsL2Norm_ = 0D;
2814 onChanged();
2815 return this;
2816 }
2817
2818 private long variableBoundGapsNumFinite_ ;
2828 @java.lang.Override
2830 return ((bitField0_ & 0x00020000) != 0);
2831 }
2832
2841 @java.lang.Override
2843 return variableBoundGapsNumFinite_;
2844 }
2845
2855 public Builder setVariableBoundGapsNumFinite(long value) {
2856
2857 variableBoundGapsNumFinite_ = value;
2858 bitField0_ |= 0x00020000;
2859 onChanged();
2860 return this;
2861 }
2862
2872 bitField0_ = (bitField0_ & ~0x00020000);
2873 variableBoundGapsNumFinite_ = 0L;
2874 onChanged();
2875 return this;
2876 }
2877
2878 private double variableBoundGapsMax_ ;
2890 @java.lang.Override
2891 public boolean hasVariableBoundGapsMax() {
2892 return ((bitField0_ & 0x00040000) != 0);
2893 }
2894
2905 @java.lang.Override
2906 public double getVariableBoundGapsMax() {
2907 return variableBoundGapsMax_;
2908 }
2909
2921 public Builder setVariableBoundGapsMax(double value) {
2922
2923 variableBoundGapsMax_ = value;
2924 bitField0_ |= 0x00040000;
2925 onChanged();
2926 return this;
2927 }
2928
2939 public Builder clearVariableBoundGapsMax() {
2940 bitField0_ = (bitField0_ & ~0x00040000);
2941 variableBoundGapsMax_ = 0D;
2942 onChanged();
2943 return this;
2944 }
2945
2946 private double variableBoundGapsMin_ ;
2951 @java.lang.Override
2952 public boolean hasVariableBoundGapsMin() {
2953 return ((bitField0_ & 0x00080000) != 0);
2954 }
2955
2959 @java.lang.Override
2960 public double getVariableBoundGapsMin() {
2961 return variableBoundGapsMin_;
2962 }
2963
2968 public Builder setVariableBoundGapsMin(double value) {
2969
2970 variableBoundGapsMin_ = value;
2971 bitField0_ |= 0x00080000;
2972 onChanged();
2973 return this;
2974 }
2975
2979 public Builder clearVariableBoundGapsMin() {
2980 bitField0_ = (bitField0_ & ~0x00080000);
2981 variableBoundGapsMin_ = 0D;
2982 onChanged();
2983 return this;
2984 }
2985
2986 private double variableBoundGapsAvg_ ;
2991 @java.lang.Override
2992 public boolean hasVariableBoundGapsAvg() {
2993 return ((bitField0_ & 0x00100000) != 0);
2994 }
2995
2999 @java.lang.Override
3000 public double getVariableBoundGapsAvg() {
3001 return variableBoundGapsAvg_;
3002 }
3003
3008 public Builder setVariableBoundGapsAvg(double value) {
3009
3010 variableBoundGapsAvg_ = value;
3011 bitField0_ |= 0x00100000;
3012 onChanged();
3013 return this;
3014 }
3015
3019 public Builder clearVariableBoundGapsAvg() {
3020 bitField0_ = (bitField0_ & ~0x00100000);
3021 variableBoundGapsAvg_ = 0D;
3022 onChanged();
3023 return this;
3024 }
3025
3026 private double variableBoundGapsL2Norm_ ;
3031 @java.lang.Override
3033 return ((bitField0_ & 0x00200000) != 0);
3034 }
3035
3039 @java.lang.Override
3041 return variableBoundGapsL2Norm_;
3042 }
3043
3048 public Builder setVariableBoundGapsL2Norm(double value) {
3049
3050 variableBoundGapsL2Norm_ = value;
3051 bitField0_ |= 0x00200000;
3052 onChanged();
3053 return this;
3054 }
3055
3060 bitField0_ = (bitField0_ & ~0x00200000);
3061 variableBoundGapsL2Norm_ = 0D;
3062 onChanged();
3063 return this;
3064 }
3065
3066 private double objectiveVectorAbsMax_ ;
3075 @java.lang.Override
3076 public boolean hasObjectiveVectorAbsMax() {
3077 return ((bitField0_ & 0x00400000) != 0);
3078 }
3079
3087 @java.lang.Override
3089 return objectiveVectorAbsMax_;
3090 }
3091
3100 public Builder setObjectiveVectorAbsMax(double value) {
3101
3102 objectiveVectorAbsMax_ = value;
3103 bitField0_ |= 0x00400000;
3104 onChanged();
3105 return this;
3106 }
3107
3116 bitField0_ = (bitField0_ & ~0x00400000);
3117 objectiveVectorAbsMax_ = 0D;
3118 onChanged();
3119 return this;
3120 }
3121
3122 private double objectiveVectorAbsMin_ ;
3127 @java.lang.Override
3128 public boolean hasObjectiveVectorAbsMin() {
3129 return ((bitField0_ & 0x00800000) != 0);
3130 }
3131
3135 @java.lang.Override
3137 return objectiveVectorAbsMin_;
3138 }
3139
3144 public Builder setObjectiveVectorAbsMin(double value) {
3145
3146 objectiveVectorAbsMin_ = value;
3147 bitField0_ |= 0x00800000;
3148 onChanged();
3149 return this;
3150 }
3151
3156 bitField0_ = (bitField0_ & ~0x00800000);
3157 objectiveVectorAbsMin_ = 0D;
3158 onChanged();
3159 return this;
3160 }
3161
3162 private double objectiveVectorAbsAvg_ ;
3167 @java.lang.Override
3168 public boolean hasObjectiveVectorAbsAvg() {
3169 return ((bitField0_ & 0x01000000) != 0);
3170 }
3171
3175 @java.lang.Override
3177 return objectiveVectorAbsAvg_;
3178 }
3179
3184 public Builder setObjectiveVectorAbsAvg(double value) {
3185
3186 objectiveVectorAbsAvg_ = value;
3187 bitField0_ |= 0x01000000;
3188 onChanged();
3189 return this;
3190 }
3191
3196 bitField0_ = (bitField0_ & ~0x01000000);
3197 objectiveVectorAbsAvg_ = 0D;
3198 onChanged();
3199 return this;
3200 }
3201
3202 private double objectiveVectorL2Norm_ ;
3207 @java.lang.Override
3208 public boolean hasObjectiveVectorL2Norm() {
3209 return ((bitField0_ & 0x02000000) != 0);
3210 }
3211
3215 @java.lang.Override
3217 return objectiveVectorL2Norm_;
3218 }
3219
3224 public Builder setObjectiveVectorL2Norm(double value) {
3225
3226 objectiveVectorL2Norm_ = value;
3227 bitField0_ |= 0x02000000;
3228 onChanged();
3229 return this;
3230 }
3231
3236 bitField0_ = (bitField0_ & ~0x02000000);
3237 objectiveVectorL2Norm_ = 0D;
3238 onChanged();
3239 return this;
3240 }
3241
3242 private long objectiveMatrixNumNonzeros_ ;
3247 @java.lang.Override
3249 return ((bitField0_ & 0x04000000) != 0);
3250 }
3251
3255 @java.lang.Override
3257 return objectiveMatrixNumNonzeros_;
3258 }
3259
3264 public Builder setObjectiveMatrixNumNonzeros(long value) {
3265
3266 objectiveMatrixNumNonzeros_ = value;
3267 bitField0_ |= 0x04000000;
3268 onChanged();
3269 return this;
3270 }
3271
3276 bitField0_ = (bitField0_ & ~0x04000000);
3277 objectiveMatrixNumNonzeros_ = 0L;
3278 onChanged();
3279 return this;
3280 }
3281
3282 private double objectiveMatrixAbsMax_ ;
3293 @java.lang.Override
3294 public boolean hasObjectiveMatrixAbsMax() {
3295 return ((bitField0_ & 0x08000000) != 0);
3296 }
3297
3307 @java.lang.Override
3309 return objectiveMatrixAbsMax_;
3310 }
3311
3322 public Builder setObjectiveMatrixAbsMax(double value) {
3323
3324 objectiveMatrixAbsMax_ = value;
3325 bitField0_ |= 0x08000000;
3326 onChanged();
3327 return this;
3328 }
3329
3340 bitField0_ = (bitField0_ & ~0x08000000);
3341 objectiveMatrixAbsMax_ = 0D;
3342 onChanged();
3343 return this;
3344 }
3345
3346 private double objectiveMatrixAbsMin_ ;
3351 @java.lang.Override
3352 public boolean hasObjectiveMatrixAbsMin() {
3353 return ((bitField0_ & 0x10000000) != 0);
3354 }
3355
3359 @java.lang.Override
3361 return objectiveMatrixAbsMin_;
3362 }
3363
3368 public Builder setObjectiveMatrixAbsMin(double value) {
3369
3370 objectiveMatrixAbsMin_ = value;
3371 bitField0_ |= 0x10000000;
3372 onChanged();
3373 return this;
3374 }
3375
3380 bitField0_ = (bitField0_ & ~0x10000000);
3381 objectiveMatrixAbsMin_ = 0D;
3382 onChanged();
3383 return this;
3384 }
3385
3386 private double objectiveMatrixAbsAvg_ ;
3391 @java.lang.Override
3392 public boolean hasObjectiveMatrixAbsAvg() {
3393 return ((bitField0_ & 0x20000000) != 0);
3394 }
3395
3399 @java.lang.Override
3401 return objectiveMatrixAbsAvg_;
3402 }
3403
3408 public Builder setObjectiveMatrixAbsAvg(double value) {
3409
3410 objectiveMatrixAbsAvg_ = value;
3411 bitField0_ |= 0x20000000;
3412 onChanged();
3413 return this;
3414 }
3415
3420 bitField0_ = (bitField0_ & ~0x20000000);
3421 objectiveMatrixAbsAvg_ = 0D;
3422 onChanged();
3423 return this;
3424 }
3425
3426 private double objectiveMatrixL2Norm_ ;
3431 @java.lang.Override
3432 public boolean hasObjectiveMatrixL2Norm() {
3433 return ((bitField0_ & 0x40000000) != 0);
3434 }
3435
3439 @java.lang.Override
3441 return objectiveMatrixL2Norm_;
3442 }
3443
3448 public Builder setObjectiveMatrixL2Norm(double value) {
3449
3450 objectiveMatrixL2Norm_ = value;
3451 bitField0_ |= 0x40000000;
3452 onChanged();
3453 return this;
3454 }
3455
3460 bitField0_ = (bitField0_ & ~0x40000000);
3461 objectiveMatrixL2Norm_ = 0D;
3462 onChanged();
3463 return this;
3464 }
3465
3466 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.QuadraticProgramStats)
3467 }
3468
3469 // @@protoc_insertion_point(class_scope:operations_research.pdlp.QuadraticProgramStats)
3470 private static final com.google.ortools.pdlp.QuadraticProgramStats DEFAULT_INSTANCE;
3471 static {
3472 DEFAULT_INSTANCE = new com.google.ortools.pdlp.QuadraticProgramStats();
3473 }
3474
3476 return DEFAULT_INSTANCE;
3477 }
3478
3479 private static final com.google.protobuf.Parser<QuadraticProgramStats>
3480 PARSER = new com.google.protobuf.AbstractParser<QuadraticProgramStats>() {
3481 @java.lang.Override
3482 public QuadraticProgramStats parsePartialFrom(
3483 com.google.protobuf.CodedInputStream input,
3484 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3485 throws com.google.protobuf.InvalidProtocolBufferException {
3486 Builder builder = newBuilder();
3487 try {
3488 builder.mergeFrom(input, extensionRegistry);
3489 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3490 throw e.setUnfinishedMessage(builder.buildPartial());
3491 } catch (com.google.protobuf.UninitializedMessageException e) {
3492 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
3493 } catch (java.io.IOException e) {
3494 throw new com.google.protobuf.InvalidProtocolBufferException(e)
3495 .setUnfinishedMessage(builder.buildPartial());
3496 }
3497 return builder.buildPartial();
3498 }
3499 };
3500
3501 public static com.google.protobuf.Parser<QuadraticProgramStats> parser() {
3502 return PARSER;
3503 }
3504
3505 @java.lang.Override
3506 public com.google.protobuf.Parser<QuadraticProgramStats> getParserForType() {
3507 return PARSER;
3508 }
3509
3510 @java.lang.Override
3512 return DEFAULT_INSTANCE;
3513 }
3514
3515}
3516
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)