Ignore:
Timestamp:
Nov 20, 2009 5:27:31 PM (10 years ago)
Author:
wehart
Message:

Rework of the SolverResults? object, to provide for a more explicit
definition of solver results, and to support loading of
solver results from YAML-formated data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.opt/trunk/coopr/opt/tests/base/test1.txt

    r1072 r1918  
    1 ==========================================================
    2 ---  Solver Results                                    ---
    3 ==========================================================
    4 ----------------------------------------------------------
    5 ------  Problem Information                         ------
    6 ----------------------------------------------------------
    7   lower_bound: None
    8   name:
    9   num_constraints: 3
    10   num_objectives: 2
    11   num_variables: 3
    12   sense: unknown
    13   upper_bound: None
    14 ----------------------------------------------------------
    15 ------  Solver Information                          ------
    16 ----------------------------------------------------------
    17   id: 0
    18   instanceName:
    19   message:
    20   serviceName:
    21   serviceURI:
    22   status: ok
    23   systime: 0.0
    24   usrtime: None
    25   num_solutions: 1
    26 ----------------------------------------------------------
    27 ------  Solution 1
    28 ----------------------------------------------------------
    29   gap: None
    30   message: None
    31   other: {}
    32   status: unsure
    33   status_description:
    34   Objectives
    35         -1      1.2
    36         -2      1.2
    37   Primal Variables
    38         0       1.2
    39         1       1.2
    40         3       1.2
    41   Dual Variables
    42         0       1.2
    43         1       1.2
    44         3       1.2
    45 ----------------------------------------------------------
     1# ==========================================================
     2# = Solver Results                                         =
     3# ==========================================================
     4
     5# ----------------------------------------------------------
     6#   Problem Information
     7# ----------------------------------------------------------
     8Problem:
     9- Name:
     10  Lower bound: -inf
     11  Upper bound: inf
     12  Number of objectives: 2
     13  Number of constraints: 3
     14  Number of variables: 3
     15  Sense: unknown
     16
     17# ----------------------------------------------------------
     18#   Solver Information
     19# ----------------------------------------------------------
     20Solver:
     21- Status: ok
     22  Message:
     23  Termination condition: unsure
     24  ServiceURI:
     25  ServiceName:
     26  InstanceName:
     27  Systime: 0.0
     28  Id: 0
     29
     30# ----------------------------------------------------------
     31#   Solution Information
     32# ----------------------------------------------------------
     33Solution:
     34- number of solutions: 1
     35  number of solutions displayed: 1
     36- Status: unsure
     37  Message: None
     38  Objective:
     39    f0:
     40      Id: -1
     41      Value: 1.2
     42    f1:
     43      Id: -2
     44      Value: 1.2
     45  Variable:
     46    x0:
     47      Id: 0
     48      Value: 1.2
     49    x1:
     50      Id: 1
     51      Value: 1.2
     52    x3:
     53      Id: 3
     54      Value: 1.2
     55  Constraint:
     56    x0:
     57      Id: 0
     58      Dual: 1.2
     59    x1:
     60      Id: 1
     61      Dual: 1.2
     62    x3:
     63      Id: 3
     64      Dual: 1.2
     65  Status description:
     66  Other: {}
Note: See TracChangeset for help on using the changeset viewer.