Source code for sdopt.demo
from __future__ import print_function
from os.path import join
from .parsers.dag_parser import read_problem
from .representation.dag_util import plot
from .datagen.paths import DATADIR
[docs]def run():
p = read_problem(join(DATADIR, 'JacobsenDbg.dag'))
plot(p.dag)
print()
read_problem(join(DATADIR, 'ex9_2_8.txt'), crosscheck_nl=False)