2 # -----------------------------------------------------------------------------
5 use lib
($0 =~ m
|^(.*/)| ?
$1 : ".");
8 &GnumericTest
::report_skip
("No linear solver found")
9 unless &GnumericTest
::has_linear_solver
();
11 my $file = "afiro.mps";
12 my $answer = -464.753216;
13 # lp_solve: -464.753216;
15 &message
("Check solver on $file problem.");
16 &test_sheet_calc
("$samples/solver/$file", ['--solve'], "B5",
19 return (/^[-+]?(\d|\.\d)/ &&
20 abs ($answer - $_) < $tol);