MCPcopy Create free account
hub / github.com/Open-Quant/openquant / IntegerVariable

Class IntegerVariable

crates/openquant/src/combinatorial_optimization.rs:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44#[derive(Debug, Clone, Copy, PartialEq, Eq)]
45pub struct IntegerVariable {
46 pub lower: i64,
47 pub upper: i64,
48 pub step: i64,
49}
50
51impl IntegerVariable {
52 fn validate(self) -> Result<(), CombinatorialOptimizationError> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected