# 14.5 Enumerations¶

- AccSolutionStatus¶
Constants used for defining which solutions statuses are acceptable.

- Anything¶
Accept all solution status except

`SolutionStatus.Undefined`

.

- Optimal¶
Accept only optimal solution status.

- Feasible¶
Accept any feasible solution, even if not optimal.

- Certificate¶
Accept only a certificate.

- ObjectiveSense¶
Used in

`Model.Objective`

to define the objective sense of the`Model`

.- Undefined¶
The sense is not defined; trying to optimize a

`Model`

whose objective sense is undefined is an error.

- Minimize¶
Minimize the objective.

- Maximize¶
Maximize the objective.

- ProblemStatus¶
Constants defining the problem status.

- Unknown¶
Unknown problem status.

- PrimalAndDualFeasible¶
The problem is primal and dual feasible.

- PrimalFeasible¶
The problem is at least primal feasible.

- DualFeasible¶
The problem is at least least dual feasible.

- PrimalInfeasible¶
The problem is primal infeasible.

- DualInfeasible¶
The problem is dual infeasible.

- PrimalAndDualInfeasible¶
The problem is primal and dual infeasible.

- IllPosed¶
The problem is illposed.

- PrimalInfeasibleOrUnbounded¶
The problem is primal infeasible or unbounded.

- SolutionStatus¶
Defines properties of either a primal or a dual solution. A model may contain multiple solutions which may have different status. Specifically, there will be individual solutions, and thus solution statuses, for the interior-point, simplex and integer solvers.

- Undefined¶
Undefined solution. This means that no values exist for the relevant solution.

- Unknown¶
The solution status is unknown; this will happen if the user inputs values or a solution is read from a file or the solver stalled.

- Optimal¶
The solution values are feasible and optimal.

- Feasible¶
The solution is feasible.

- Certificate¶
The solution is a certificate of infeasibility.

- IllposedCert¶
The solution is a certificate of illposedness.

- SolutionType¶
Used when requesting a specific solution from a

`Model`

.- Default¶
Auto-select the default solution; usually this will be the integer solution, if available, otherwise the basic solution, if available, otherwise the interior-point solution.

- Basic¶
Select the basic solution.

- Interior¶
Select the interior-point solution.

- Integer¶
Select the integer solution.

- SolverStatus¶
Constants used for reporting solver status from

`Model.SolveBatch`

.- OK¶
No error.

- Error¶
An error occurred.

- LostRace¶
The model was not solved because it lost the race.