opencobra / optlang

optlang - sympy based mathematical programming language
http://optlang.readthedocs.org/
Apache License 2.0
253 stars 52 forks source link

add consistent exports for the symbolics module #248

Closed cdiener closed 1 year ago

cdiener commented 1 year ago

Small fix that makes the exports for symbolics a bit more consistent. In particular doing something like:

from optlang.symbolics import Expr

will no longer fail on symengine but work on sympy.