testSolver

Test a particular solver against a set of test problems

Syntax

[times,results] = testSolver(prob_type,solver)

[times,results] = testSolver(prob_type,solver,no)

Description

[times,results] = testSolver(prob_type,solver) uses the solver specified by solver to run all tests of problem type prob_type. The function will return a vector of execution times, as well a cell array of structures with fields detailing the success or failure of the solver for each problem.

[times,results] = testSolver(prob_type,solver,no) runs no number of tests for the problem type.

Example

To run all MILP test problems against GLPK use the following:

>> [times,results] = testSolver('MILP','GLPK');