transforms

This module contains transformations for representing a single-variate piecewise linear function using a mixed-integer problem formulation (see [VAN10]).

Classes

PiecewiseLinearFunction(breakpoints, values)

A piecewise linear function

TransformedPiecewiseLinearFunction(f[, ...])

Base class for transformed piecewise linear functions

piecewise_cc(*args, **kwds)

Discrete CC piecewise representation

piecewise_convex(*args, **kwds)

Simple convex piecewise representation

piecewise_dcc(*args, **kwds)

Discrete DCC piecewise representation

piecewise_dlog(*args, **kwds)

Discrete DLOG piecewise representation

piecewise_inc(*args, **kwds)

Discrete INC piecewise representation

piecewise_log(*args, **kwds)

Discrete LOG piecewise representation

piecewise_mc(*args, **kwds)

Discrete MC piecewise representation

piecewise_sos2(*args, **kwds)

Discrete SOS2 piecewise representation

Functions

piecewise(breakpoints, values[, input, ...])

Models a single-variate piecewise linear function.