dwave.optimization.model.Model.decision_state_size#

Model.decision_state_size()#

An estimated size, in bytes, of the model’s decision states.

Examples

This example checks the size of a model with one \(10 \times 10\)-sized integer symbol.

>>> from dwave.optimization.model import Model
>>> model = Model()
>>> visit_site = model.integer((10, 10))
>>> model.decision_state_size()
800