Skip to main content

oximo_core/
param.rs

1use oximo_expr::ParamId;
2use smol_str::SmolStr;
3
4/// Parameter metadata. Parameters are scalars referenced symbolically in
5/// expressions and re-bound between solves.
6///
7/// For now, we support scalar parameters only.
8///
9/// TODO: Add support for more parameters
10#[derive(Clone, Debug)]
11pub struct Parameter {
12    pub id: ParamId,
13    pub name: SmolStr,
14    pub value: f64,
15}