python-algebraic provides a convenient and portable method for specifying linear and nonlinear constraints and objective functions. It is written for use with python-zibopt but can be used by other solver interfaces.
At the moment it only supports functionality necessary for SCIP, but more is one the way.
Quick Start:
from algebraic import variable
# Use variable as a mixin to your decision variable class
class MyVariableType(variable):
pass
# You can now use expressions and variables with the same algebraic
# modeling syntax available to python-zibopt:
#
# (x + 1) * (x - 1) < = 2
# etc.
Product's homepage
Requirements:
· Python