About

Log in?

DTU users get better search results including licensed content and discounts on order fees.

Anyone can log in and get personalized features such as favorites, tags and feeds.

Log in as DTU user Log in as non-DTU user No thanks

DTU Findit

Journal article

Optlang: An algebraic modeling language for mathematical optimization

From

Novo Nordisk Foundation Center for Biosustainability, Technical University of Denmark1

iLoop, Translational Management, Novo Nordisk Foundation Center for Biosustainability, Technical University of Denmark2

Optlang is a Python package implementing a modeling language for solving mathematical optimization problems, i.e., maximizing or minimizing an objective function over a set of variables subject to a number of constraints. It provides a common native Python interface to a series of optimization tools, so different solver backends can be used and changed in a transparent way.

Optlang’s object-oriented API takes advantage of the symbolic math library SymPy (Team 2016) to allow objective functions and constraints to be easily formulated algebraically from symbolic expressions of variables. Optlang targets scientists who can thus focus on formulating optimization problems based on mathematical equations derived from domain knowledge.

Solver interfaces can be added by subclassing the four main classes of the optlang API (Variable, Constraint, Objective, and Model) and implementing the relevant API functions.

Language: English
Year: 2016
ISSN: 24759066
Types: Journal article
DOI: 10.21105/joss.00139
ORCIDs: Jensen, Kristian , Cardoso, Joao and Sonnenschein, Nikolaus

DTU users get better search results including licensed content and discounts on order fees.

Log in as DTU user

Access

Analysis