> ## Documentation Index
> Fetch the complete documentation index at: https://docs.erna.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# SolverResult

Parsed solver result with assignments and metadata.

## Properties

<ResponseField name="assignments" type="ShiftAssignment[]" required>
  The shift assignments extracted from the solution.
</ResponseField>

<ResponseField name="error" type="error?: string">
  Error message if the solver returned an error status.
</ResponseField>

<ResponseField name="statistics" type="statistics?: object">
  Solver performance statistics (branches, conflicts, solve time).

  <Expandable title="properties">
    <ResponseField name="branches" type="branches?: number" />

    <ResponseField name="conflicts" type="conflicts?: number" />

    <ResponseField name="solveTimeMs" type="solveTimeMs?: number" />
  </Expandable>
</ResponseField>

<ResponseField name="status" type="&#x22;OPTIMAL&#x22; | &#x22;FEASIBLE&#x22; | &#x22;INFEASIBLE&#x22; | &#x22;TIMEOUT&#x22; | &#x22;ERROR&#x22;" required>
  The solver outcome: OPTIMAL, FEASIBLE, INFEASIBLE, TIMEOUT, or ERROR.
</ResponseField>
