CGO Test Examples: Difference between revisions

From TomWiki
Jump to navigationJump to search
(Created page with "{{Part Of Manual|title=the CGO Manual|link=CGO Manual}} There are several test examples included in the general TOMLAB distribution. The examples are located in the ''te...")
 
No edit summary
 
Line 9: Line 9:
Result  = tomRun('rbfSolve', Prob,  1);
Result  = tomRun('rbfSolve', Prob,  1);
</pre>
</pre>
[[Category:CGO]]

Latest revision as of 07:08, 4 March 2014

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);