UFunLimit

class scml.oneshot.UFunLimit(utility, input_quantity, input_price, output_quantity, output_price, exogenous_input_quantity, exogenous_input_price, exogenous_output_quantity, exogenous_output_price, producible)

Bases: tuple

Information about one utility limit (either highest or lowest). See OnShotUFun.find_limit for details.

Attributes Summary

exogenous_input_price

Alias for field number 6

exogenous_input_quantity

Alias for field number 5

exogenous_output_price

Alias for field number 8

exogenous_output_quantity

Alias for field number 7

input_price

Alias for field number 2

input_quantity

Alias for field number 1

output_price

Alias for field number 4

output_quantity

Alias for field number 3

producible

Alias for field number 9

utility

Alias for field number 0

Methods Summary

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes Documentation

exogenous_input_price

Alias for field number 6

exogenous_input_quantity

Alias for field number 5

exogenous_output_price

Alias for field number 8

exogenous_output_quantity

Alias for field number 7

input_price

Alias for field number 2

input_quantity

Alias for field number 1

output_price

Alias for field number 4

output_quantity

Alias for field number 3

producible

Alias for field number 9

utility

Alias for field number 0

Methods Documentation

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.