CGO Test Examples

From TomWiki
Jump to navigationJump to search

Notice.png

This page is part of the CGO Manual. See CGO Manual.

There are several test examples included in the general TOMLAB distribution. The examples are located in the testprob folder in TOMLAB. lgo1_prob contains one dimensional test problems while lgo2_prob includes two- and higher-dimensional. Several problems are also available in glb_prob, glc_prob, glcIP_prob and minlp_prob.

To test the solution of these problem sets with CGO, the following type of code can be used:

Prob = probInit('lgo1_prob', 1); 

Result  = tomRun('rbfSolve', Prob,  1);