source: coopr.opt/trunk/scripts/results_schema @ 2186

Last change on this file since 2186 was 2186, checked in by wehart, 10 years ago

Renaming results_attributes to results_schema.

File size: 350 bytes
Line 
1#! /usr/bin/env python
2#
3# results_schema
4#
5
6import sys
7
8if len(sys.argv) > 1:
9    print "results_schema  - Print the predefined schema in a SolverResults object"
10
11
12from pyutilib.misc import Options
13from coopr.opt import SolverResults
14options = Options(schema=True)
15r=SolverResults()
16repn = r._repn_(options)
17r.pprint(sys.stdout, options, repn=repn)
Note: See TracBrowser for help on using the repository browser.