# solvers

Determine default and valid solvers for optimization problem or equation problem

*Since R2022b*

## Description

returns the default solver for `autosolver`

= solvers(`prob`

)`prob`

, where `prob`

is an
`OptimizationProblem`

object or an `EquationProblem`

object. To solve `prob`

, call `solve`

, which
calls the default solver.

`[`

also returns a list of the valid solvers for `autosolver`

,`validsolvers`

] = solvers(`prob`

)`prob`

.

## Examples

## Input Arguments

## Output Arguments

## Version History

**Introduced in R2022b**