# Changeset 3943

Ignore:
Timestamp:
04/03/11 15:34:47 (5 years ago)
Message:

Doc update

Location:
coopr.data.samples/trunk/coopr/data/samples
Files:
2 edited

Unmodified
Removed
• ## coopr.data.samples/trunk/coopr/data/samples/TRAC.txt

 r3940 The following links provide documentation of optimization models that can be used to compare and contrast Pyomo with other optimization modeling tools. Note that the list of [wiki:Documentation/RelatedProjects related projects] summarizes Python software frameworks that provide optimization functionality that is similar to Coopr. * [wiki:Documentation/CooprGallery/ModelingComparisons/sched sched] * [wiki:Documentation/CooprGallery/ModelingComparisons/sched Comparing Pyomo with Commercial Modeling Tools: A Scheduling Problem] {{{ #!comment [[Include(source:coopr.data.samples/trunk/coopr/data/samples/comparisons/sched/README.txt, text/x-trac-wiki)]] }}} * [wiki:Documentation/CooprGallery/ModelingComparisons/cutstock cutstock] * [wiki:Documentation/CooprGallery/ModelingComparisons/cutstock Comparing Pyomo with Python Modeling Tools: A Cut Stock Problem] {{{ #!comment
• ## coopr.data.samples/trunk/coopr/data/samples/update.py

 r3940 import glob import os.path def get_title(fname): INPUT = open(fname, 'r') for line in INPUT: sline = line.strip() #print sline #print sline[0:2] #print '.%s.' % sline[-2:] if sline[0:2] == '= ' and sline[-2:] == ' =': tmp = sline[2:-2] tmp.strip() return tmp return fname for Dir in glob.glob('comparisons/*'): dir = os.path.basename(Dir) print dir if os.path.exists('comparisons/%s/README.txt' % dir): print >>OUTPUT, " * [wiki:Documentation/CooprGallery/ModelingComparisons/%s %s]" % (dir, dir) fname = 'comparisons/%s/README.txt' % dir if os.path.exists(fname): print >>OUTPUT, " * [wiki:Documentation/CooprGallery/ModelingComparisons/%s %s]" % (dir, get_title(fname)) print >>OUTPUT, "{{{\n#!comment\n[[Include(source:coopr.data.samples/trunk/coopr/data/samples/comparisons/%s/README.txt, text/x-trac-wiki)]]\n}}}" % dir
Note: See TracChangeset for help on using the changeset viewer.