lumix.analysis.sensitivity.LXVariableSensitivity

class lumix.analysis.sensitivity.LXVariableSensitivity(name, value, reduced_cost=None, allowable_increase=None, allowable_decrease=None, is_basic=False, is_at_bound=False)[source]

Sensitivity analysis results for a variable.

Parameters:
  • name (str)

  • value (float)

  • reduced_cost (float | None)

  • allowable_increase (float | None)

  • allowable_decrease (float | None)

  • is_basic (bool)

  • is_at_bound (bool)

name

Variable name

value

Current value in solution

reduced_cost

Reduced cost (opportunity cost)

allowable_increase

Maximum increase before basis change (if available)

allowable_decrease

Maximum decrease before basis change (if available)

is_basic

Whether variable is basic in optimal solution

is_at_bound

Whether variable is at its bound

__init__(name, value, reduced_cost=None, allowable_increase=None, allowable_decrease=None, is_basic=False, is_at_bound=False)
Parameters:
  • name (str)

  • value (float)

  • reduced_cost (float | None)

  • allowable_increase (float | None)

  • allowable_decrease (float | None)

  • is_basic (bool)

  • is_at_bound (bool)

Return type:

None

Methods

__init__(name, value[, reduced_cost, ...])

Attributes

name: str
value: float
reduced_cost: Optional[float] = None
allowable_increase: Optional[float] = None
allowable_decrease: Optional[float] = None
is_basic: bool = False
is_at_bound: bool = False
__init__(name, value, reduced_cost=None, allowable_increase=None, allowable_decrease=None, is_basic=False, is_at_bound=False)
Parameters:
  • name (str)

  • value (float)

  • reduced_cost (float | None)

  • allowable_increase (float | None)

  • allowable_decrease (float | None)

  • is_basic (bool)

  • is_at_bound (bool)

Return type:

None