deephyper.skopt.optimizer.acq_optimizer.pymoo_mixedga.Integer

deephyper.skopt.optimizer.acq_optimizer.pymoo_mixedga.Integer#

class deephyper.skopt.optimizer.acq_optimizer.pymoo_mixedga.Integer(value: object | None = None, bounds: Tuple[object | None, object | None] = (None, None), strict: Tuple[object | None, object | None] | None = None, **kwargs: Any)[source]#

Bases: BoundedVariable

Class for the representation of bounded, integer decision variables.

Methods

get

Get the value of a decision variable.

sample

set

Set the value of a decision variable.

Attributes

lb

Lower bound of the decision variable.

ub

Upper bound of the decision variable.

get(**kwargs: Any) object#

Get the value of a decision variable.

Parameters:

kwargs (Any) – Additional keyword arguments.

Returns:

out – The value of the decision variable.

Return type:

object

property lb: object#

Lower bound of the decision variable.

Returns:

out – The decision variable lower bound.

Return type:

object

set(value: object) None#

Set the value of a decision variable.

Parameters:

value (object) – Value to assign to the decision variable.

property ub: object#

Upper bound of the decision variable.

Returns:

out – The decision variable upper bound.

Return type:

object

vtype#

alias of int