Skip to main content
type SolveStrategy =
  | {
  type: "optimize";
}
  | {
  type: "feasibility-only";
};
Strategy for Schedule.solve and Schedule.compile.

Union Members

Type Literal

{
  type: "optimize";
}
NameTypeDescription
type"optimize"Optimize objectives and soft constraints.

Type Literal

{
  type: "feasibility-only";
}
NameTypeDescription
type"feasibility-only"Find a hard-feasible solution without optimizing objectives or soft constraints.
{ type: "optimize" } optimizes objectives and soft constraints. { type: "feasibility-only" } asks the solver for a hard-feasible solution only, ignoring objectives and soft-constraint penalties. Feasibility-only results do not guarantee cost, objective optimality, or soft-constraint feedback.