- QuadraticModel.nbytes(capacity: bool = False) int ¶
Get the total bytes consumed by the biases, vartype info, bounds, and indices.
Does not include the memory consumed by non-element attributes of the quadratic model object. Also does not include the memory consumed by the variable labels.
capacity – If
capacityis true, also include the capacity of the underlying vectors in the calculation.
The number of bytes.