# TOMLAB  
# REGISTER (TOMLAB)
# LOGIN  
# myTOMLAB
TOMLAB LOGO

« Previous « Start » Next »

6  Print file and error file

A print file is always created by default when calling SOCS. It is called socsprint.txt, but the name can be changed setting problem.options.PrintFile to the new file name. This print file is created by SOCS and the amount of information printed depends on output options set through problem.options.OC and problem.options.NLP (see section 4). The print file is shared by the OC and NLP solvers. The available output options are:

  • problem.options.OC.IPGRD, optimal control output level,
  • problem.options.OC.IPNLP, nonlinear solver output level (identical to problem.options.NLP.IOFLAG,
  • problem.options.OC.IPFSFD, sparse finite difference output level,
  • problem.options.OC.IPODE, differential equation output level,
  • problem.options.OC.SOCOUT, SOCS output menu
  • problem.options.NLP.IOFLAG, nonlinear solver output level (idnetical to problem.options.OC.IPNLP.

An error file is written if an error or warning occured and it contains information about the error. The default name of the error file is socserror.txt. It can be changed by setting problem.options.ErrorFile. This is the place to look when the solution.inform flag is nonzero. Increase the print level of the OC and/or NLP solver to get a better explanation of the error.

6.1  Turning off all output

One can turn of all output, and thereby not create the output files. This

« Previous « Start » Next »