Changeset 831 for mystic/examples2/crypta.py
- Timestamp:
- 09/28/15 20:45:46 (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mystic/examples2/crypta.py
r817 r831 57 57 from mystic.constraints import unique, near_integers 58 58 59 from mystic.symbolic import generate_constraint, generate_solvers, solve 59 60 from mystic.symbolic import generate_penalty, generate_conditions 60 61 pf = generate_penalty(generate_conditions(equations,var),k=1e-6) 61 from mystic.constraints import as_constraint 62 cf = as_constraint(pf) 62 cf = generate_constraint(generate_solvers(solve(equations,var))) 63 63 64 64 from mystic.penalty import quadratic_inequality, quadratic_equality
Note: See TracChangeset
for help on using the changeset viewer.