2using System.Xml.Serialization;
11[XmlType(TypeName =
"solverProgressSnapshot")]
26 [XmlAttribute(
"stage")]
36 [XmlAttribute(
"elapsedSeconds")]
47 [XmlAttribute(
"processorSeconds")]
57 [XmlAttribute(
"exploredNodeCount")]
67 [XmlAttribute(
"openNodeCount")]
78 [XmlAttribute(
"iterationCount")]
89 [XmlAttribute(
"incumbentObjective")]
99 [XmlAttribute(
"bestBound")]
109 [XmlAttribute(
"absoluteGap")]
119 [XmlAttribute(
"relativeGap")]
130 [XmlAttribute(
"solutionCount")]
141 [XmlAttribute(
"memoryUsageMegabytes")]
152 [XmlElement(
"message")]
Common.SolverProgressStage Stage
Gets or sets the current solver execution stage.
string Message
Gets or sets a solver or callback message associated with this snapshot.
double? MemoryUsageMegabytes
Gets or sets the amount of memory used by the solver in megabytes, when available.
double ElapsedSeconds
Gets or sets the elapsed wall-clock time in seconds.
double? AbsoluteGap
Gets or sets the absolute optimality gap.
double? BestBound
Gets or sets the best objective bound currently known.
long? IterationCount
Gets or sets the number of simplex or barrier iterations reported by the solver.
SolverProgressSnapshot()
Initializes an empty progress snapshot.
bool HasIncumbent
Gets a value indicating whether a feasible incumbent objective is available.
long? OpenNodeCount
Gets or sets the number of open search-tree nodes.
long? ExploredNodeCount
Gets or sets the number of explored search-tree nodes.
int SolutionCount
Gets or sets the number of feasible solutions found so far.
double? IncumbentObjective
Gets or sets the best feasible objective value currently known.
double? ProcessorSeconds
Gets or sets the elapsed processor time in seconds, when reported by the solver.
double? RelativeGap
Gets or sets the relative optimality gap.
SolverProgressStage
Identifies the current stage of a solver execution.