Class SolveLog.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SolveLog.Builder>
com.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
com.google.ortools.pdlp.SolveLog.Builder
All Implemented Interfaces:
SolveLogOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SolveLog

public static final class SolveLog.Builder extends com.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder> implements SolveLogOrBuilder
Protobuf type operations_research.pdlp.SolveLog
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
    • clear

      public SolveLog.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
    • getDefaultInstanceForType

      public SolveLog getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SolveLog build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SolveLog buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SolveLog.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SolveLog.Builder>
    • mergeFrom

      public SolveLog.Builder mergeFrom(SolveLog other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
    • mergeFrom

      public SolveLog.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SolveLog.Builder>
      Throws:
      IOException
    • hasInstanceName

      public boolean hasInstanceName()
       The name of the optimization problem.
       
      optional string instance_name = 1;
      Specified by:
      hasInstanceName in interface SolveLogOrBuilder
      Returns:
      Whether the instanceName field is set.
    • getInstanceName

      public String getInstanceName()
       The name of the optimization problem.
       
      optional string instance_name = 1;
      Specified by:
      getInstanceName in interface SolveLogOrBuilder
      Returns:
      The instanceName.
    • getInstanceNameBytes

      public com.google.protobuf.ByteString getInstanceNameBytes()
       The name of the optimization problem.
       
      optional string instance_name = 1;
      Specified by:
      getInstanceNameBytes in interface SolveLogOrBuilder
      Returns:
      The bytes for instanceName.
    • setInstanceName

      public SolveLog.Builder setInstanceName(String value)
       The name of the optimization problem.
       
      optional string instance_name = 1;
      Parameters:
      value - The instanceName to set.
      Returns:
      This builder for chaining.
    • clearInstanceName

      public SolveLog.Builder clearInstanceName()
       The name of the optimization problem.
       
      optional string instance_name = 1;
      Returns:
      This builder for chaining.
    • setInstanceNameBytes

      public SolveLog.Builder setInstanceNameBytes(com.google.protobuf.ByteString value)
       The name of the optimization problem.
       
      optional string instance_name = 1;
      Parameters:
      value - The bytes for instanceName to set.
      Returns:
      This builder for chaining.
    • hasParams

      public boolean hasParams()
       If solved with PDLP, the parameters for this solve.
       
      optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
      Specified by:
      hasParams in interface SolveLogOrBuilder
      Returns:
      Whether the params field is set.
    • getParams

      public PrimalDualHybridGradientParams getParams()
       If solved with PDLP, the parameters for this solve.
       
      optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
      Specified by:
      getParams in interface SolveLogOrBuilder
      Returns:
      The params.
    • setParams

       If solved with PDLP, the parameters for this solve.
       
      optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
    • setParams

      public SolveLog.Builder setParams(PrimalDualHybridGradientParams.Builder builderForValue)
       If solved with PDLP, the parameters for this solve.
       
      optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
    • mergeParams

       If solved with PDLP, the parameters for this solve.
       
      optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
    • clearParams

      public SolveLog.Builder clearParams()
       If solved with PDLP, the parameters for this solve.
       
      optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
    • getParamsBuilder

      public PrimalDualHybridGradientParams.Builder getParamsBuilder()
       If solved with PDLP, the parameters for this solve.
       
      optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
    • getParamsOrBuilder

      public PrimalDualHybridGradientParamsOrBuilder getParamsOrBuilder()
       If solved with PDLP, the parameters for this solve.
       
      optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
      Specified by:
      getParamsOrBuilder in interface SolveLogOrBuilder
    • hasTerminationReason

      public boolean hasTerminationReason()
       The reason that the solve terminated.
       
      optional .operations_research.pdlp.TerminationReason termination_reason = 3;
      Specified by:
      hasTerminationReason in interface SolveLogOrBuilder
      Returns:
      Whether the terminationReason field is set.
    • getTerminationReason

      public TerminationReason getTerminationReason()
       The reason that the solve terminated.
       
      optional .operations_research.pdlp.TerminationReason termination_reason = 3;
      Specified by:
      getTerminationReason in interface SolveLogOrBuilder
      Returns:
      The terminationReason.
    • setTerminationReason

      public SolveLog.Builder setTerminationReason(TerminationReason value)
       The reason that the solve terminated.
       
      optional .operations_research.pdlp.TerminationReason termination_reason = 3;
      Parameters:
      value - The terminationReason to set.
      Returns:
      This builder for chaining.
    • clearTerminationReason

      public SolveLog.Builder clearTerminationReason()
       The reason that the solve terminated.
       
      optional .operations_research.pdlp.TerminationReason termination_reason = 3;
      Returns:
      This builder for chaining.
    • hasTerminationString

      public boolean hasTerminationString()
       Optional extra information about the termination reason.
       
      optional string termination_string = 4;
      Specified by:
      hasTerminationString in interface SolveLogOrBuilder
      Returns:
      Whether the terminationString field is set.
    • getTerminationString

      public String getTerminationString()
       Optional extra information about the termination reason.
       
      optional string termination_string = 4;
      Specified by:
      getTerminationString in interface SolveLogOrBuilder
      Returns:
      The terminationString.
    • getTerminationStringBytes

      public com.google.protobuf.ByteString getTerminationStringBytes()
       Optional extra information about the termination reason.
       
      optional string termination_string = 4;
      Specified by:
      getTerminationStringBytes in interface SolveLogOrBuilder
      Returns:
      The bytes for terminationString.
    • setTerminationString

      public SolveLog.Builder setTerminationString(String value)
       Optional extra information about the termination reason.
       
      optional string termination_string = 4;
      Parameters:
      value - The terminationString to set.
      Returns:
      This builder for chaining.
    • clearTerminationString

      public SolveLog.Builder clearTerminationString()
       Optional extra information about the termination reason.
       
      optional string termination_string = 4;
      Returns:
      This builder for chaining.
    • setTerminationStringBytes

      public SolveLog.Builder setTerminationStringBytes(com.google.protobuf.ByteString value)
       Optional extra information about the termination reason.
       
      optional string termination_string = 4;
      Parameters:
      value - The bytes for terminationString to set.
      Returns:
      This builder for chaining.
    • hasIterationCount

      public boolean hasIterationCount()
       The total number of iterations during the solve. For a solve with
       `use_feasibility_polishing` this count includes the iterations from
       the feasibility polishing phases.
       
      optional int32 iteration_count = 5;
      Specified by:
      hasIterationCount in interface SolveLogOrBuilder
      Returns:
      Whether the iterationCount field is set.
    • getIterationCount

      public int getIterationCount()
       The total number of iterations during the solve. For a solve with
       `use_feasibility_polishing` this count includes the iterations from
       the feasibility polishing phases.
       
      optional int32 iteration_count = 5;
      Specified by:
      getIterationCount in interface SolveLogOrBuilder
      Returns:
      The iterationCount.
    • setIterationCount

      public SolveLog.Builder setIterationCount(int value)
       The total number of iterations during the solve. For a solve with
       `use_feasibility_polishing` this count includes the iterations from
       the feasibility polishing phases.
       
      optional int32 iteration_count = 5;
      Parameters:
      value - The iterationCount to set.
      Returns:
      This builder for chaining.
    • clearIterationCount

      public SolveLog.Builder clearIterationCount()
       The total number of iterations during the solve. For a solve with
       `use_feasibility_polishing` this count includes the iterations from
       the feasibility polishing phases.
       
      optional int32 iteration_count = 5;
      Returns:
      This builder for chaining.
    • hasPreprocessingTimeSec

      public boolean hasPreprocessingTimeSec()
       Time for preprocessing (everything before iteration 0). This is also
       included in `solve_time_sec`.
       
      optional double preprocessing_time_sec = 13;
      Specified by:
      hasPreprocessingTimeSec in interface SolveLogOrBuilder
      Returns:
      Whether the preprocessingTimeSec field is set.
    • getPreprocessingTimeSec

      public double getPreprocessingTimeSec()
       Time for preprocessing (everything before iteration 0). This is also
       included in `solve_time_sec`.
       
      optional double preprocessing_time_sec = 13;
      Specified by:
      getPreprocessingTimeSec in interface SolveLogOrBuilder
      Returns:
      The preprocessingTimeSec.
    • setPreprocessingTimeSec

      public SolveLog.Builder setPreprocessingTimeSec(double value)
       Time for preprocessing (everything before iteration 0). This is also
       included in `solve_time_sec`.
       
      optional double preprocessing_time_sec = 13;
      Parameters:
      value - The preprocessingTimeSec to set.
      Returns:
      This builder for chaining.
    • clearPreprocessingTimeSec

      public SolveLog.Builder clearPreprocessingTimeSec()
       Time for preprocessing (everything before iteration 0). This is also
       included in `solve_time_sec`.
       
      optional double preprocessing_time_sec = 13;
      Returns:
      This builder for chaining.
    • hasSolveTimeSec

      public boolean hasSolveTimeSec()
       The runtime of the solve. Note: This should not be used for comparing
       methods unless care is taken to control for noise in runtime measurement.
       For a solve with `use_feasibility_polishing` this count includes the
       iterations from the feasibility polishing phases.
       
      optional double solve_time_sec = 6;
      Specified by:
      hasSolveTimeSec in interface SolveLogOrBuilder
      Returns:
      Whether the solveTimeSec field is set.
    • getSolveTimeSec

      public double getSolveTimeSec()
       The runtime of the solve. Note: This should not be used for comparing
       methods unless care is taken to control for noise in runtime measurement.
       For a solve with `use_feasibility_polishing` this count includes the
       iterations from the feasibility polishing phases.
       
      optional double solve_time_sec = 6;
      Specified by:
      getSolveTimeSec in interface SolveLogOrBuilder
      Returns:
      The solveTimeSec.
    • setSolveTimeSec

      public SolveLog.Builder setSolveTimeSec(double value)
       The runtime of the solve. Note: This should not be used for comparing
       methods unless care is taken to control for noise in runtime measurement.
       For a solve with `use_feasibility_polishing` this count includes the
       iterations from the feasibility polishing phases.
       
      optional double solve_time_sec = 6;
      Parameters:
      value - The solveTimeSec to set.
      Returns:
      This builder for chaining.
    • clearSolveTimeSec

      public SolveLog.Builder clearSolveTimeSec()
       The runtime of the solve. Note: This should not be used for comparing
       methods unless care is taken to control for noise in runtime measurement.
       For a solve with `use_feasibility_polishing` this count includes the
       iterations from the feasibility polishing phases.
       
      optional double solve_time_sec = 6;
      Returns:
      This builder for chaining.
    • hasSolutionStats

      public boolean hasSolutionStats()
       The `IterationStats` for the final iteration of the solver. For a solve
       with `use_feasibility_polishing`, the work metrics (iteration_count,
       cumulative_kkt_matrix_passes, etc.) will include the work done in the
       feasibility polishing phases.
       NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
       or infeasibility information is evaluated with respect to the original
       problem.
       
      optional .operations_research.pdlp.IterationStats solution_stats = 8;
      Specified by:
      hasSolutionStats in interface SolveLogOrBuilder
      Returns:
      Whether the solutionStats field is set.
    • getSolutionStats

      public IterationStats getSolutionStats()
       The `IterationStats` for the final iteration of the solver. For a solve
       with `use_feasibility_polishing`, the work metrics (iteration_count,
       cumulative_kkt_matrix_passes, etc.) will include the work done in the
       feasibility polishing phases.
       NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
       or infeasibility information is evaluated with respect to the original
       problem.
       
      optional .operations_research.pdlp.IterationStats solution_stats = 8;
      Specified by:
      getSolutionStats in interface SolveLogOrBuilder
      Returns:
      The solutionStats.
    • setSolutionStats

      public SolveLog.Builder setSolutionStats(IterationStats value)
       The `IterationStats` for the final iteration of the solver. For a solve
       with `use_feasibility_polishing`, the work metrics (iteration_count,
       cumulative_kkt_matrix_passes, etc.) will include the work done in the
       feasibility polishing phases.
       NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
       or infeasibility information is evaluated with respect to the original
       problem.
       
      optional .operations_research.pdlp.IterationStats solution_stats = 8;
    • setSolutionStats

      public SolveLog.Builder setSolutionStats(IterationStats.Builder builderForValue)
       The `IterationStats` for the final iteration of the solver. For a solve
       with `use_feasibility_polishing`, the work metrics (iteration_count,
       cumulative_kkt_matrix_passes, etc.) will include the work done in the
       feasibility polishing phases.
       NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
       or infeasibility information is evaluated with respect to the original
       problem.
       
      optional .operations_research.pdlp.IterationStats solution_stats = 8;
    • mergeSolutionStats

      public SolveLog.Builder mergeSolutionStats(IterationStats value)
       The `IterationStats` for the final iteration of the solver. For a solve
       with `use_feasibility_polishing`, the work metrics (iteration_count,
       cumulative_kkt_matrix_passes, etc.) will include the work done in the
       feasibility polishing phases.
       NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
       or infeasibility information is evaluated with respect to the original
       problem.
       
      optional .operations_research.pdlp.IterationStats solution_stats = 8;
    • clearSolutionStats

      public SolveLog.Builder clearSolutionStats()
       The `IterationStats` for the final iteration of the solver. For a solve
       with `use_feasibility_polishing`, the work metrics (iteration_count,
       cumulative_kkt_matrix_passes, etc.) will include the work done in the
       feasibility polishing phases.
       NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
       or infeasibility information is evaluated with respect to the original
       problem.
       
      optional .operations_research.pdlp.IterationStats solution_stats = 8;
    • getSolutionStatsBuilder

      public IterationStats.Builder getSolutionStatsBuilder()
       The `IterationStats` for the final iteration of the solver. For a solve
       with `use_feasibility_polishing`, the work metrics (iteration_count,
       cumulative_kkt_matrix_passes, etc.) will include the work done in the
       feasibility polishing phases.
       NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
       or infeasibility information is evaluated with respect to the original
       problem.
       
      optional .operations_research.pdlp.IterationStats solution_stats = 8;
    • getSolutionStatsOrBuilder

      public IterationStatsOrBuilder getSolutionStatsOrBuilder()
       The `IterationStats` for the final iteration of the solver. For a solve
       with `use_feasibility_polishing`, the work metrics (iteration_count,
       cumulative_kkt_matrix_passes, etc.) will include the work done in the
       feasibility polishing phases.
       NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
       or infeasibility information is evaluated with respect to the original
       problem.
       
      optional .operations_research.pdlp.IterationStats solution_stats = 8;
      Specified by:
      getSolutionStatsOrBuilder in interface SolveLogOrBuilder
    • hasSolutionType

      public boolean hasSolutionType()
       The type of the output point that the solver returned. The quality of the
       point is reported in the corresponding entry of
       solution_stats.convergence_information and/or
       solution_stats.infeasibility_information. If termination_reason is
       TERMINATION_REASON_OPTIMAL, it's guaranteed that the corresponding entry of
       solution_stats.convergence_information satisfies the optimality conditions.
       Similarly, if termination_reason is either
       TERMINATION_REASON_PRIMAL_INFEASIBLE or TERMINATION_REASON_DUAL_INFEASIBLE
       the corresponding entry of solution_stats.infeasibility_information
       satisifes conditions for declaring primal or dual infeasibility,
       respectively.
       If termination_reason is anything else, e.g. TERMINATION_REASON_TIME_LIMIT
       or TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE, the solution may not
       satisfy the optimality or infeasibility conditions.
       
      optional .operations_research.pdlp.PointType solution_type = 10;
      Specified by:
      hasSolutionType in interface SolveLogOrBuilder
      Returns:
      Whether the solutionType field is set.
    • getSolutionType

      public PointType getSolutionType()
       The type of the output point that the solver returned. The quality of the
       point is reported in the corresponding entry of
       solution_stats.convergence_information and/or
       solution_stats.infeasibility_information. If termination_reason is
       TERMINATION_REASON_OPTIMAL, it's guaranteed that the corresponding entry of
       solution_stats.convergence_information satisfies the optimality conditions.
       Similarly, if termination_reason is either
       TERMINATION_REASON_PRIMAL_INFEASIBLE or TERMINATION_REASON_DUAL_INFEASIBLE
       the corresponding entry of solution_stats.infeasibility_information
       satisifes conditions for declaring primal or dual infeasibility,
       respectively.
       If termination_reason is anything else, e.g. TERMINATION_REASON_TIME_LIMIT
       or TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE, the solution may not
       satisfy the optimality or infeasibility conditions.
       
      optional .operations_research.pdlp.PointType solution_type = 10;
      Specified by:
      getSolutionType in interface SolveLogOrBuilder
      Returns:
      The solutionType.
    • setSolutionType

      public SolveLog.Builder setSolutionType(PointType value)
       The type of the output point that the solver returned. The quality of the
       point is reported in the corresponding entry of
       solution_stats.convergence_information and/or
       solution_stats.infeasibility_information. If termination_reason is
       TERMINATION_REASON_OPTIMAL, it's guaranteed that the corresponding entry of
       solution_stats.convergence_information satisfies the optimality conditions.
       Similarly, if termination_reason is either
       TERMINATION_REASON_PRIMAL_INFEASIBLE or TERMINATION_REASON_DUAL_INFEASIBLE
       the corresponding entry of solution_stats.infeasibility_information
       satisifes conditions for declaring primal or dual infeasibility,
       respectively.
       If termination_reason is anything else, e.g. TERMINATION_REASON_TIME_LIMIT
       or TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE, the solution may not
       satisfy the optimality or infeasibility conditions.
       
      optional .operations_research.pdlp.PointType solution_type = 10;
      Parameters:
      value - The solutionType to set.
      Returns:
      This builder for chaining.
    • clearSolutionType

      public SolveLog.Builder clearSolutionType()
       The type of the output point that the solver returned. The quality of the
       point is reported in the corresponding entry of
       solution_stats.convergence_information and/or
       solution_stats.infeasibility_information. If termination_reason is
       TERMINATION_REASON_OPTIMAL, it's guaranteed that the corresponding entry of
       solution_stats.convergence_information satisfies the optimality conditions.
       Similarly, if termination_reason is either
       TERMINATION_REASON_PRIMAL_INFEASIBLE or TERMINATION_REASON_DUAL_INFEASIBLE
       the corresponding entry of solution_stats.infeasibility_information
       satisifes conditions for declaring primal or dual infeasibility,
       respectively.
       If termination_reason is anything else, e.g. TERMINATION_REASON_TIME_LIMIT
       or TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE, the solution may not
       satisfy the optimality or infeasibility conditions.
       
      optional .operations_research.pdlp.PointType solution_type = 10;
      Returns:
      This builder for chaining.
    • getIterationStatsList

      public List<IterationStats> getIterationStatsList()
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
      Specified by:
      getIterationStatsList in interface SolveLogOrBuilder
    • getIterationStatsCount

      public int getIterationStatsCount()
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
      Specified by:
      getIterationStatsCount in interface SolveLogOrBuilder
    • getIterationStats

      public IterationStats getIterationStats(int index)
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
      Specified by:
      getIterationStats in interface SolveLogOrBuilder
    • setIterationStats

      public SolveLog.Builder setIterationStats(int index, IterationStats value)
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • setIterationStats

      public SolveLog.Builder setIterationStats(int index, IterationStats.Builder builderForValue)
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • addIterationStats

      public SolveLog.Builder addIterationStats(IterationStats value)
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • addIterationStats

      public SolveLog.Builder addIterationStats(int index, IterationStats value)
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • addIterationStats

      public SolveLog.Builder addIterationStats(IterationStats.Builder builderForValue)
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • addIterationStats

      public SolveLog.Builder addIterationStats(int index, IterationStats.Builder builderForValue)
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • addAllIterationStats

      public SolveLog.Builder addAllIterationStats(Iterable<? extends IterationStats> values)
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • clearIterationStats

      public SolveLog.Builder clearIterationStats()
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • removeIterationStats

      public SolveLog.Builder removeIterationStats(int index)
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • getIterationStatsBuilder

      public IterationStats.Builder getIterationStatsBuilder(int index)
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • getIterationStatsOrBuilder

      public IterationStatsOrBuilder getIterationStatsOrBuilder(int index)
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
      Specified by:
      getIterationStatsOrBuilder in interface SolveLogOrBuilder
    • getIterationStatsOrBuilderList

      public List<? extends IterationStatsOrBuilder> getIterationStatsOrBuilderList()
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
      Specified by:
      getIterationStatsOrBuilderList in interface SolveLogOrBuilder
    • addIterationStatsBuilder

      public IterationStats.Builder addIterationStatsBuilder()
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • addIterationStatsBuilder

      public IterationStats.Builder addIterationStatsBuilder(int index)
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • getIterationStatsBuilderList

      public List<IterationStats.Builder> getIterationStatsBuilderList()
       A history of iteration stats for the solve. The iteration_number fields
       should be in increasing order. The frequency at which these stats should be
       recorded is not specified. This field is "more" optional than the others
       because it often significantly increases the size of the message, and
       because the information may not be available for third-party solvers.
       For a solve with `use_feasibility_polishing`, these iteration stats will
       only reflect the work done in the main iterations (not the feasibility
       polishing phases).
       
      repeated .operations_research.pdlp.IterationStats iteration_stats = 7;
    • hasOriginalProblemStats

      public boolean hasOriginalProblemStats()
       Statistics of the original problem.
       
      optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
      Specified by:
      hasOriginalProblemStats in interface SolveLogOrBuilder
      Returns:
      Whether the originalProblemStats field is set.
    • getOriginalProblemStats

      public QuadraticProgramStats getOriginalProblemStats()
       Statistics of the original problem.
       
      optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
      Specified by:
      getOriginalProblemStats in interface SolveLogOrBuilder
      Returns:
      The originalProblemStats.
    • setOriginalProblemStats

      public SolveLog.Builder setOriginalProblemStats(QuadraticProgramStats value)
       Statistics of the original problem.
       
      optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
    • setOriginalProblemStats

      public SolveLog.Builder setOriginalProblemStats(QuadraticProgramStats.Builder builderForValue)
       Statistics of the original problem.
       
      optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
    • mergeOriginalProblemStats

      public SolveLog.Builder mergeOriginalProblemStats(QuadraticProgramStats value)
       Statistics of the original problem.
       
      optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
    • clearOriginalProblemStats

      public SolveLog.Builder clearOriginalProblemStats()
       Statistics of the original problem.
       
      optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
    • getOriginalProblemStatsBuilder

      public QuadraticProgramStats.Builder getOriginalProblemStatsBuilder()
       Statistics of the original problem.
       
      optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
    • getOriginalProblemStatsOrBuilder

      public QuadraticProgramStatsOrBuilder getOriginalProblemStatsOrBuilder()
       Statistics of the original problem.
       
      optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
      Specified by:
      getOriginalProblemStatsOrBuilder in interface SolveLogOrBuilder
    • hasPreprocessedProblemStats

      public boolean hasPreprocessedProblemStats()
       Statistics of the problem after preprocessing.
       
      optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
      Specified by:
      hasPreprocessedProblemStats in interface SolveLogOrBuilder
      Returns:
      Whether the preprocessedProblemStats field is set.
    • getPreprocessedProblemStats

      public QuadraticProgramStats getPreprocessedProblemStats()
       Statistics of the problem after preprocessing.
       
      optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
      Specified by:
      getPreprocessedProblemStats in interface SolveLogOrBuilder
      Returns:
      The preprocessedProblemStats.
    • setPreprocessedProblemStats

      public SolveLog.Builder setPreprocessedProblemStats(QuadraticProgramStats value)
       Statistics of the problem after preprocessing.
       
      optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
    • setPreprocessedProblemStats

      public SolveLog.Builder setPreprocessedProblemStats(QuadraticProgramStats.Builder builderForValue)
       Statistics of the problem after preprocessing.
       
      optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
    • mergePreprocessedProblemStats

      public SolveLog.Builder mergePreprocessedProblemStats(QuadraticProgramStats value)
       Statistics of the problem after preprocessing.
       
      optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
    • clearPreprocessedProblemStats

      public SolveLog.Builder clearPreprocessedProblemStats()
       Statistics of the problem after preprocessing.
       
      optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
    • getPreprocessedProblemStatsBuilder

      public QuadraticProgramStats.Builder getPreprocessedProblemStatsBuilder()
       Statistics of the problem after preprocessing.
       
      optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
    • getPreprocessedProblemStatsOrBuilder

      public QuadraticProgramStatsOrBuilder getPreprocessedProblemStatsOrBuilder()
       Statistics of the problem after preprocessing.
       
      optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
      Specified by:
      getPreprocessedProblemStatsOrBuilder in interface SolveLogOrBuilder
    • getFeasibilityPolishingDetailsList

      public List<FeasibilityPolishingDetails> getFeasibilityPolishingDetailsList()
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
      Specified by:
      getFeasibilityPolishingDetailsList in interface SolveLogOrBuilder
    • getFeasibilityPolishingDetailsCount

      public int getFeasibilityPolishingDetailsCount()
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
      Specified by:
      getFeasibilityPolishingDetailsCount in interface SolveLogOrBuilder
    • getFeasibilityPolishingDetails

      public FeasibilityPolishingDetails getFeasibilityPolishingDetails(int index)
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
      Specified by:
      getFeasibilityPolishingDetails in interface SolveLogOrBuilder
    • setFeasibilityPolishingDetails

      public SolveLog.Builder setFeasibilityPolishingDetails(int index, FeasibilityPolishingDetails value)
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
    • setFeasibilityPolishingDetails

      public SolveLog.Builder setFeasibilityPolishingDetails(int index, FeasibilityPolishingDetails.Builder builderForValue)
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
    • addFeasibilityPolishingDetails

      public SolveLog.Builder addFeasibilityPolishingDetails(FeasibilityPolishingDetails value)
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
    • addFeasibilityPolishingDetails

      public SolveLog.Builder addFeasibilityPolishingDetails(int index, FeasibilityPolishingDetails value)
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
    • addFeasibilityPolishingDetails

      public SolveLog.Builder addFeasibilityPolishingDetails(FeasibilityPolishingDetails.Builder builderForValue)
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
    • addFeasibilityPolishingDetails

      public SolveLog.Builder addFeasibilityPolishingDetails(int index, FeasibilityPolishingDetails.Builder builderForValue)
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
    • addAllFeasibilityPolishingDetails

      public SolveLog.Builder addAllFeasibilityPolishingDetails(Iterable<? extends FeasibilityPolishingDetails> values)
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
    • clearFeasibilityPolishingDetails

      public SolveLog.Builder clearFeasibilityPolishingDetails()
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
    • removeFeasibilityPolishingDetails

      public SolveLog.Builder removeFeasibilityPolishingDetails(int index)
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
    • getFeasibilityPolishingDetailsBuilder

      public FeasibilityPolishingDetails.Builder getFeasibilityPolishingDetailsBuilder(int index)
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
    • getFeasibilityPolishingDetailsOrBuilder

      public FeasibilityPolishingDetailsOrBuilder getFeasibilityPolishingDetailsOrBuilder(int index)
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
      Specified by:
      getFeasibilityPolishingDetailsOrBuilder in interface SolveLogOrBuilder
    • getFeasibilityPolishingDetailsOrBuilderList

      public List<? extends FeasibilityPolishingDetailsOrBuilder> getFeasibilityPolishingDetailsOrBuilderList()
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
      Specified by:
      getFeasibilityPolishingDetailsOrBuilderList in interface SolveLogOrBuilder
    • addFeasibilityPolishingDetailsBuilder

      public FeasibilityPolishingDetails.Builder addFeasibilityPolishingDetailsBuilder()
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
    • addFeasibilityPolishingDetailsBuilder

      public FeasibilityPolishingDetails.Builder addFeasibilityPolishingDetailsBuilder(int index)
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
    • getFeasibilityPolishingDetailsBuilderList

      public List<FeasibilityPolishingDetails.Builder> getFeasibilityPolishingDetailsBuilderList()
       If solving with `use_feasibility_polishing`, details about the primal and
       dual feasibility polishing phases.
       
      repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;