Skip to content

Commit

Permalink
Merge e97a9f5 into 81101b8
Browse files Browse the repository at this point in the history
  • Loading branch information
swryan committed Jul 31, 2018
2 parents 81101b8 + e97a9f5 commit b5466c7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion examples/mdp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
"""
Optimization of the CADRE MDP.
Optional Argments:
paper - use parameters from paper instead of default quick test
nopt - do not optimize, just run with the default driver (run once)
record - add an sqlite recorder (only when not running under MPI)
profile - do a profiling run and report stats
derivs - do a compute_totals and report the time
"""
from __future__ import print_function
from pprint import pprint
Expand All @@ -19,10 +27,10 @@
from CADRE.CADRE_mdp import CADRE_MDP_Group



import sys
argv = sys.argv[1:]


if 'paper' in argv:
# These numbers are for the CADRE problem in the paper.
n = 1500
Expand Down

0 comments on commit b5466c7

Please sign in to comment.