Interface SolveTrackerListeners
Methods
reified
- reified(summary): void
-
Parameters
-
summary: {
constraints: readonly {
coefficientMultiplicity: string;
columnCount: number;
domainMultiplicity: string;
label: string;
reifiedInMillis: number;
rowCount: number;
weightProfile: {
buckets: readonly { readonly left: number | "Infinity" | "-Infinity"; readonly right: number | "Infinity" | "-Infinity"; readonly count: number; }[];
count: number;
max?: number | "Infinity" | "-Infinity";
mean?: number;
min?: number | "Infinity" | "-Infinity";
stddev?: number;
};
}[];
dimensions: readonly {
itemCount: number;
label: string;
}[];
objectives: readonly {
coefficientMultiplicity: string;
label: string;
reifiedInMillis: number;
weightProfile: {
buckets: readonly { readonly left: number | "Infinity" | "-Infinity"; readonly right: number | "Infinity" | "-Infinity"; readonly count: number; }[];
count: number;
max?: number | "Infinity" | "-Infinity";
mean?: number;
min?: number | "Infinity" | "-Infinity";
stddev?: number;
};
}[];
parameters: readonly {
domainMultiplicity: string;
entryProfile: {
buckets: readonly { readonly left: number | "Infinity" | "-Infinity"; readonly right: number | "Infinity" | "-Infinity"; readonly count: number; }[];
count: number;
max?: number | "Infinity" | "-Infinity";
mean?: number;
min?: number | "Infinity" | "-Infinity";
stddev?: number;
};
label: string;
}[];
variables: readonly {
columnCount: number;
domainMultiplicity: string;
label: string;
}[];
}
-
Readonly
constraints: readonly {
coefficientMultiplicity: string;
columnCount: number;
domainMultiplicity: string;
label: string;
reifiedInMillis: number;
rowCount: number;
weightProfile: {
buckets: readonly { readonly left: number | "Infinity" | "-Infinity"; readonly right: number | "Infinity" | "-Infinity"; readonly count: number; }[];
count: number;
max?: number | "Infinity" | "-Infinity";
mean?: number;
min?: number | "Infinity" | "-Infinity";
stddev?: number;
};
}[]
-
Readonly
dimensions: readonly {
itemCount: number;
label: string;
}[]
-
Readonly
objectives: readonly {
coefficientMultiplicity: string;
label: string;
reifiedInMillis: number;
weightProfile: {
buckets: readonly { readonly left: number | "Infinity" | "-Infinity"; readonly right: number | "Infinity" | "-Infinity"; readonly count: number; }[];
count: number;
max?: number | "Infinity" | "-Infinity";
mean?: number;
min?: number | "Infinity" | "-Infinity";
stddev?: number;
};
}[]
-
Readonly
parameters: readonly {
domainMultiplicity: string;
entryProfile: {
buckets: readonly { readonly left: number | "Infinity" | "-Infinity"; readonly right: number | "Infinity" | "-Infinity"; readonly count: number; }[];
count: number;
max?: number | "Infinity" | "-Infinity";
mean?: number;
min?: number | "Infinity" | "-Infinity";
stddev?: number;
};
label: string;
}[]
-
Readonly
variables: readonly {
columnCount: number;
domainMultiplicity: string;
label: string;
}[]
Returns void
solved
- solved(outcome, outputs?): void
-
Parameters
-
outcome: {
objectiveValue?: number;
relativeGap?: number | "Infinity" | "-Infinity";
status: "UNKNOWN" | "INFEASIBLE" | "UNBOUNDED" | "FEASIBLE" | "OPTIMAL" | "ABORTED";
[key: string]: unknown;
}
-
[key: string]: unknown
-
Optional
Readonly
objectiveValue?: number
-
Optional
Readonly
relativeGap?: number | "Infinity" | "-Infinity"
-
Readonly
status: "UNKNOWN" | "INFEASIBLE" | "UNBOUNDED" | "FEASIBLE" | "OPTIMAL" | "ABORTED"
-
Optional
outputs: {
constraints: readonly {
entries: readonly { readonly key: readonly (string | number)[]; readonly value: number; readonly dualValue?: number | undefined; }[];
label: string;
}[];
variables: readonly {
entries: readonly { readonly key: readonly (string | number)[]; readonly value: number; readonly dualValue?: number | undefined; }[];
label: string;
}[];
}
-
Readonly
constraints: readonly {
entries: readonly { readonly key: readonly (string | number)[]; readonly value: number; readonly dualValue?: number | undefined; }[];
label: string;
}[]
-
Readonly
variables: readonly {
entries: readonly { readonly key: readonly (string | number)[]; readonly value: number; readonly dualValue?: number | undefined; }[];
label: string;
}[]
Returns void
solving
- solving(progress): void
-
Parameters
-
progress: {
cutCount?: number;
kind: "activity";
lpIterationCount?: number;
relativeGap?: number | "Infinity" | "-Infinity";
} | {
kind: "epsilonConstraint";
objectiveValue: number;
}
Returns void
Description
All entries where the constraint is active. Unlike for variables, zero-valued entries are included as they represent tight constraints.