Interface QueuedSolveListeners
Methods
failure
- failure(data): void
Parameters
- data: {
error: {
code?: string;
message: string;
tags?: {
[key: string]: unknown;
};
};
status: "UNKNOWN" | "ABORTED" | "INTERNAL" | "UNIMPLEMENTED" | "UNAVAILABLE" | "DEADLINE_EXCEEDED" | "INVALID_ARGUMENT" | "UNAUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "ALREADY_EXISTS" | "FAILED_PRECONDITION" | "RESOURCE_EXHAUSTED" | "CANCELLED";
}Readonly
error: {
code?: string;
message: string;
tags?: {
[key: string]: unknown;
};
}
Optional
Readonly
code?: string
Readonly
message: string
Optional
Readonly
tags?: {
[key: string]: unknown;
}
Readonly
status: "UNKNOWN" | "ABORTED" | "INTERNAL" | "UNIMPLEMENTED" | "UNAVAILABLE" | "DEADLINE_EXCEEDED" | "INVALID_ARGUMENT" | "UNAUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "ALREADY_EXISTS" | "FAILED_PRECONDITION" | "RESOURCE_EXHAUSTED" | "CANCELLED"
Returns void
notification
- notification(data): void
Parameters
- data: FullSolveNotificationFragment
Returns void
outcome
- outcome(data): void
Parameters
- data: {
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"
Returns void
The solve failed