ScipCheckAvailability Method
Checks availability of the solver on the host, and returns the result.
- The solver can be used if solver.CheckAvailability().IsOk.
- The solver is not available otherwise. solver.CheckAvailability().ErrorMessage.Unwrap() provides the error details.
Possible fixes when solver.CheckAvailability().IsErr are as follows:
- Make sure that the desired solver is installed on the host machine; such as cplex or scip.
- Make sure that the solver's binary directory is included in the path variable.
- Alternatively, one can provide the absolute path of the solver as follows: