TRUE or FALSE if onlywarn is set to TRUE, an object of class
checksol otherwise.
encoding
utf8
Details
The function checkOptSol is used by functions performing a
linear optimization (e.g. simpleFBA). In that case, the
argument onlywarn is set to TRUE. If the optimization ends
unsuccesfull, a warning will be produced.
It is also possible to use the function directly, with onlywarn
set to FALSE (the default). In that case, an object of class
checksol will be retuned. This object contains a summary
with the exit status of the optimization.