picos.reforms.reform_constraint

Reformulations that concern a particular type of constraint.

The reformulations’ logic is not found here but defined within the constraint classes in the form of a constraint conversion class.

Outline

Classes

AbsoluteValueToAffineReformulation

Reformulation created from AbsoluteValueConstraint.AffineConversion.

ComplexAffineToRealReformulation

Reformulation created from ComplexAffineConstraint.RealConversion.

ComplexLMIToRealReformulation

Reformulation created from ComplexLMIConstraint.RealConversion.

ConicQuadraticReformulation

Reformulation created from ConicQuadraticConstraint.Conversion.

ConvexQuadraticToConicReformulation

Reformulation created from ConvexQuadraticConstraint.ConicConversion.

DetRootNReformulation

Reformulation created from DetRootNConstraint.Conversion.

FlowReformulation

Reformulation created from FlowConstraint.Conversion.

GeometricMeanToRSOCReformulation

Reformulation created from GeometricMeanConstraint.RSOCConversion.

KullbackLeiblerToExpConeReformulation

Reformulation created from KullbackLeiblerConstraint.ExpConeConversion.

LogSumExpToExpConeReformulation

Reformulation created from LogSumExpConstraint.ExpConeConversion.

LogToExpConeReformulation

Reformulation created from LogConstraint.ExpConeConversion.

MatrixNormToVectorNormReformulation

Reformulation created from MatrixNormConstraint.VectorNormConversion.

NuclearNormReformulation

Reformulation created from NuclearNormConstraint.Conversion.

PowerTraceReformulation

Reformulation created from PowerTraceConstraint.Conversion.

SimplexToAffineReformulation

Reformulation created from SimplexConstraint.AffineConversion.

SpectralNormReformulation

Reformulation created from SpectralNormConstraint.Conversion.

SumExponentialsToConicReformulation

Reformulation created from SumExponentialsConstraint.ConicConversion.

SumExponentialsToLogSumExpReformulation

Reformulation created from SumExponentialsConstraint.LogSumExpConversion.

SumExtremesReformulation

Reformulation created from SumExtremesConstraint.Conversion.

VectorNormReformulation

Reformulation created from VectorNormConstraint.Conversion.

Classes

AbsoluteValueToAffineReformulation

class picos.reforms.reform_constraint.AbsoluteValueToAffineReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from AbsoluteValueConstraint.AffineConversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_absolute.AbsoluteValueConstraint

CONVERSION_TYPE

alias of picos.constraints.con_absolute.AbsoluteValueConstraint.AffineConversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

ComplexAffineToRealReformulation

class picos.reforms.reform_constraint.ComplexAffineToRealReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from ComplexAffineConstraint.RealConversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_affine.ComplexAffineConstraint

CONVERSION_TYPE

alias of picos.constraints.con_affine.ComplexAffineConstraint.RealConversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

ComplexLMIToRealReformulation

class picos.reforms.reform_constraint.ComplexLMIToRealReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from ComplexLMIConstraint.RealConversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_lmi.ComplexLMIConstraint

CONVERSION_TYPE

alias of picos.constraints.con_lmi.ComplexLMIConstraint.RealConversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

ConicQuadraticReformulation

class picos.reforms.reform_constraint.ConicQuadraticReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from ConicQuadraticConstraint.Conversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_quadratic.ConicQuadraticConstraint

CONVERSION_TYPE

alias of picos.constraints.con_quadratic.ConicQuadraticConstraint.Conversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

ConvexQuadraticToConicReformulation

class picos.reforms.reform_constraint.ConvexQuadraticToConicReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from ConvexQuadraticConstraint.ConicConversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_quadratic.ConvexQuadraticConstraint

CONVERSION_TYPE

alias of picos.constraints.con_quadratic.ConvexQuadraticConstraint.ConicConversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

DetRootNReformulation

class picos.reforms.reform_constraint.DetRootNReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from DetRootNConstraint.Conversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_detrootn.DetRootNConstraint

CONVERSION_TYPE

alias of picos.constraints.con_detrootn.DetRootNConstraint.Conversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

FlowReformulation

class picos.reforms.reform_constraint.FlowReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from FlowConstraint.Conversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_flow.FlowConstraint

CONVERSION_TYPE

alias of picos.constraints.con_flow.FlowConstraint.Conversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

GeometricMeanToRSOCReformulation

class picos.reforms.reform_constraint.GeometricMeanToRSOCReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from GeometricMeanConstraint.RSOCConversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_geomean.GeometricMeanConstraint

CONVERSION_TYPE

alias of picos.constraints.con_geomean.GeometricMeanConstraint.RSOCConversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

KullbackLeiblerToExpConeReformulation

class picos.reforms.reform_constraint.KullbackLeiblerToExpConeReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from KullbackLeiblerConstraint.ExpConeConversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_kldiv.KullbackLeiblerConstraint

CONVERSION_TYPE

alias of picos.constraints.con_kldiv.KullbackLeiblerConstraint.ExpConeConversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

LogSumExpToExpConeReformulation

class picos.reforms.reform_constraint.LogSumExpToExpConeReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from LogSumExpConstraint.ExpConeConversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_logsumexp.LogSumExpConstraint

CONVERSION_TYPE

alias of picos.constraints.con_logsumexp.LogSumExpConstraint.ExpConeConversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

LogToExpConeReformulation

class picos.reforms.reform_constraint.LogToExpConeReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from LogConstraint.ExpConeConversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_log.LogConstraint

CONVERSION_TYPE

alias of picos.constraints.con_log.LogConstraint.ExpConeConversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

MatrixNormToVectorNormReformulation

class picos.reforms.reform_constraint.MatrixNormToVectorNormReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from MatrixNormConstraint.VectorNormConversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_matnorm.MatrixNormConstraint

CONVERSION_TYPE

alias of picos.constraints.con_matnorm.MatrixNormConstraint.VectorNormConversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

NuclearNormReformulation

class picos.reforms.reform_constraint.NuclearNormReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from NuclearNormConstraint.Conversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_matnorm.NuclearNormConstraint

CONVERSION_TYPE

alias of picos.constraints.con_matnorm.NuclearNormConstraint.Conversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

PowerTraceReformulation

class picos.reforms.reform_constraint.PowerTraceReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from PowerTraceConstraint.Conversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_powtrace.PowerTraceConstraint

CONVERSION_TYPE

alias of picos.constraints.con_powtrace.PowerTraceConstraint.Conversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

SimplexToAffineReformulation

class picos.reforms.reform_constraint.SimplexToAffineReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from SimplexConstraint.AffineConversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_simplex.SimplexConstraint

CONVERSION_TYPE

alias of picos.constraints.con_simplex.SimplexConstraint.AffineConversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

SpectralNormReformulation

class picos.reforms.reform_constraint.SpectralNormReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from SpectralNormConstraint.Conversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_matnorm.SpectralNormConstraint

CONVERSION_TYPE

alias of picos.constraints.con_matnorm.SpectralNormConstraint.Conversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

SumExponentialsToConicReformulation

class picos.reforms.reform_constraint.SumExponentialsToConicReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from SumExponentialsConstraint.ConicConversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_sumexp.SumExponentialsConstraint

CONVERSION_TYPE

alias of picos.constraints.con_sumexp.SumExponentialsConstraint.ConicConversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

SumExponentialsToLogSumExpReformulation

class picos.reforms.reform_constraint.SumExponentialsToLogSumExpReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from SumExponentialsConstraint.LogSumExpConversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_sumexp.SumExponentialsConstraint

CONVERSION_TYPE

alias of picos.constraints.con_sumexp.SumExponentialsConstraint.LogSumExpConversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

SumExtremesReformulation

class picos.reforms.reform_constraint.SumExtremesReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from SumExtremesConstraint.Conversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_sumxtr.SumExtremesConstraint

CONVERSION_TYPE

alias of picos.constraints.con_sumxtr.SumExtremesConstraint.Conversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.

VectorNormReformulation

class picos.reforms.reform_constraint.VectorNormReformulation(theObject)

Bases: picos.reforms.reformulation.Reformulation

Reformulation created from VectorNormConstraint.Conversion.

CONSTRAINT_TYPE

alias of picos.constraints.con_vecnorm.VectorNormConstraint

CONVERSION_TYPE

alias of picos.constraints.con_vecnorm.VectorNormConstraint.Conversion

__init__(theObject)

Implement __init__.

backward(solution)

Implement backward.

forward()

Implement forward.

classmethod predict(footprint)

Implement predict.

classmethod supports(footprint)

Implement supports.

update()

Implement update.