Changeset 2250


Ignore:
Timestamp:
Feb 3, 2010 3:42:06 PM (10 years ago)
Author:
wehart
Message:

Update to descriptions of solver status and associted termination
conditions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.opt/trunk/coopr/opt/results/solver.py

    r2095 r2250  
    1515
    1616
    17 SolverStatus = Enum('error', 'warning', 'ok', 'aborted')
    18 TerminationCondition = Enum('maxIterations', 'minFunctionValue', 'minStepLength',
    19                             'unbounded', 'globallyOptimal', 'locallyOptimal',
    20                             'optimal', 'bestSoFar', 'feasible', 'infeasible',
    21                             'stoppedByLimit', 'unsure', 'error', 'other')
     17SolverStatus = Enum(
     18    'ok',                   # Normal termination
     19    'warning',              # Termination with unusual condtion
     20    'error',                # Terminated internally with error
     21    'aborted',              # Terminated due to external conditions (e.g. interrupts)
     22    'unknown'               # An unitialized value
     23    )
     24
     25TerminationCondition = Enum(
     26    # OK
     27    'maxIterations',        # Exceeded maximum number of iterations allowed by user
     28    'minFunctionValue',     # Found solution smaller than specified function value
     29    'minStepLength',        # Step length is smaller than specified limit
     30    'globallyOptimal',      # Found a globally optimal solution
     31    'locallyOptimal',       # Found a locally optimal solution
     32    # WARNING
     33    'unbounded',            # Demonstrated that problem is unbounded
     34    'infeasible',           # Demonstrated that the problem is infeasible
     35    'other'                 # Other, uncategorized normal termination
     36    # ERROR
     37    'solverFailure',        # Solver failed to terminate correctly
     38    'internalSolverError',  # Internal solver error
     39    'error',                # Other errors
     40    # ABORTED
     41    'userInterrupt',        # Interrupt signal generated by user
     42    'resourceInterrupt',    # Interrupt signal in resources used by optimizer
     43    'licensingProblems',    # Problem accessing solver license
     44    # UNKNOWN
     45    'unknown'               # An unitialized value
     46    )
    2247
    2348
Note: See TracChangeset for help on using the changeset viewer.