#include <ClpSimplex.hpp>
Public Member Functions | |
Constructors and destructor and copy | |
| ClpSimplexProgress () | |
| Default constructor. | |
| ClpSimplexProgress (ClpSimplex *model) | |
| Constructor from model. | |
| ClpSimplexProgress (const ClpSimplexProgress &) | |
| Copy constructor. | |
| ClpSimplexProgress & | operator= (const ClpSimplexProgress &rhs) |
| Assignment operator. This copies the data. | |
| ~ClpSimplexProgress () | |
| Destructor. | |
Check progress | |
| int | looping () |
| Returns -1 if okay, -n+1 (n number of times bad) if bad but action taken, >=0 if give up and use as problem status. | |
| void | startCheck () |
| Start check at beginning of whileIterating. | |
| int | cycle (int in, int out, int wayIn, int wayOut) |
| Returns cycle length in whileIterating. | |
| double | lastObjective (int back=1) const |
| Returns previous objective (if -1) - current if (0). | |
| void | setInfeasibility (double value) |
| Set real primal infeasibility and move back. | |
| double | lastInfeasibility (int back=1) const |
| Returns real primal infeasibility (if -1) - current if (0). | |
| void | modifyObjective (double value) |
| Modify objective e.g. if dual infeasible in dual. | |
| int | lastIterationNumber (int back=1) const |
| Returns previous iteration number (if -1) - current if (0). | |
| void | newOddState () |
| Odd state. | |
| void | endOddState () |
| Returns -1 if okay, -n+1 (n number of times bad) if bad but action taken, >=0 if give up and use as problem status. | |
| void | clearOddState () |
| Returns -1 if okay, -n+1 (n number of times bad) if bad but action taken, >=0 if give up and use as problem status. | |
| int | oddState () const |
| Returns -1 if okay, -n+1 (n number of times bad) if bad but action taken, >=0 if give up and use as problem status. | |
| int | badTimes () const |
| number of bad times | |
| void | clearBadTimes () |
| Returns -1 if okay, -n+1 (n number of times bad) if bad but action taken, >=0 if give up and use as problem status. | |
Public Attributes | |
Data | |
| double | objective_ [CLP_PROGRESS] |
| Objective values. | |
| double | infeasibility_ [CLP_PROGRESS] |
| Sum of infeasibilities for algorithm. | |
| double | realInfeasibility_ [CLP_PROGRESS] |
| Sum of real primal infeasibilities for primal. | |
| int | in_ [CLP_CYCLE] |
| For cycle checking. | |
| int | out_ [CLP_CYCLE] |
| Objective values. | |
| char | way_ [CLP_CYCLE] |
| Objective values. | |
| ClpSimplex * | model_ |
| Pointer back to model so we can get information. | |
| int | numberInfeasibilities_ [CLP_PROGRESS] |
| Number of infeasibilities. | |
| int | iterationNumber_ [CLP_PROGRESS] |
| Iteration number at which occurred. | |
| int | numberTimes_ |
| Number of times checked (so won't stop too early). | |
| int | numberBadTimes_ |
| Number of times it looked like loop. | |
| int | oddState_ |
| If things are in an odd state. | |
Definition at line 1028 of file ClpSimplex.hpp.
|
|
Default constructor.
|
|
|
Constructor from model.
|
|
|
Copy constructor.
|
|
|
Destructor.
|
|
|
Assignment operator. This copies the data.
|
|
|
Returns -1 if okay, -n+1 (n number of times bad) if bad but action taken, >=0 if give up and use as problem status.
|
|
|
Start check at beginning of whileIterating.
|
|
||||||||||||||||||||
|
Returns cycle length in whileIterating.
|
|
|
Returns previous objective (if -1) - current if (0).
|
|
|
Set real primal infeasibility and move back.
|
|
|
Returns real primal infeasibility (if -1) - current if (0).
|
|
|
Modify objective e.g. if dual infeasible in dual.
|
|
|
Returns previous iteration number (if -1) - current if (0).
|
|
|
Odd state.
Definition at line 1072 of file ClpSimplex.hpp. References oddState_. |
|
|
Returns -1 if okay, -n+1 (n number of times bad) if bad but action taken, >=0 if give up and use as problem status.
Definition at line 1074 of file ClpSimplex.hpp. References oddState_. |
|
|
Returns -1 if okay, -n+1 (n number of times bad) if bad but action taken, >=0 if give up and use as problem status.
Definition at line 1076 of file ClpSimplex.hpp. References oddState_. |
|
|
Returns -1 if okay, -n+1 (n number of times bad) if bad but action taken, >=0 if give up and use as problem status.
Definition at line 1078 of file ClpSimplex.hpp. References oddState_. |
|
|
number of bad times
Definition at line 1081 of file ClpSimplex.hpp. References numberBadTimes_. |
|
|
Returns -1 if okay, -n+1 (n number of times bad) if bad but action taken, >=0 if give up and use as problem status.
Definition at line 1083 of file ClpSimplex.hpp. References numberBadTimes_. |
|
|
Objective values.
Definition at line 1091 of file ClpSimplex.hpp. |
|
|
Sum of infeasibilities for algorithm.
Definition at line 1093 of file ClpSimplex.hpp. |
|
|
Sum of real primal infeasibilities for primal.
Definition at line 1095 of file ClpSimplex.hpp. |
|
|
For cycle checking.
Definition at line 1099 of file ClpSimplex.hpp. |
|
|
Objective values.
Definition at line 1100 of file ClpSimplex.hpp. |
|
|
Objective values.
Definition at line 1101 of file ClpSimplex.hpp. |
|
|
Pointer back to model so we can get information.
Definition at line 1103 of file ClpSimplex.hpp. |
|
|
Number of infeasibilities.
Definition at line 1105 of file ClpSimplex.hpp. |
|
|
Iteration number at which occurred.
Definition at line 1107 of file ClpSimplex.hpp. |
|
|
Number of times checked (so won't stop too early).
Definition at line 1109 of file ClpSimplex.hpp. |
|
|
Number of times it looked like loop.
Definition at line 1111 of file ClpSimplex.hpp. Referenced by badTimes(), and clearBadTimes(). |
|
|
If things are in an odd state.
Definition at line 1113 of file ClpSimplex.hpp. Referenced by clearOddState(), endOddState(), newOddState(), and oddState(). |
1.3.5