# convergence code 34 data could not be opened

0

Hi,

I am running a constrained optimization program in Gauss 13, my command is

{sigma_uv,fout,gout,covr,cout}=cml( "data2",0,&lik_fcn,para0);

However, there is always an error saying 'data2 could not be opened'. Then I tried this

{sigma_uv,fout,gout,covr,cout}=cml( " ",0,&lik_fcn,para0);

following the guideline on page 7 of CML user guide. What is wrong with my code?

Thanks,

LZ

LZ
0

0

The first input to the cml procedure is the input data. This can be a GAUSS dataset file on disk or the name of a matrix in memory. In your first example:

{sigma_uv,fout,gout,covr,cout}=cml( "data2",0,&lik_fcn,para0);


you are telling GAUSS to open and use a dataset file named data2.dat. Since there is no path attached, GAUSS will look in your current working directory. If this file is located somewhere else, you will need to either add a path or change your GAUSS working directory to the location of the dataset.

{sigma_uv,fout,gout,covr,cout}=cml( "C:\\path\\to\\dataset\\data2",0,&lik_fcn,para0);


or change your GAUSS working directory using the working directory widget on the main toolbar or the chdir command.

• ### Aptech Systems, Inc. Worldwide Headquarters

Aptech Systems, Inc.
2350 East Germann Road, Suite #21
Chandler, AZ 85286

Phone: 360.886.7100
FAX: 360.886.8922

• ### Training & Events

Want more guidance while learning about the full functionality of GAUSS and its capabilities? Get in touch for in-person training or browse additional references below.

• ### Tutorials

Step-by-step, informative lessons for those who want to dive into GAUSS and achieve their goals, fast.

• ### Have a Specific Question?

Get a real answer from a real person

• Need Support?
• ### Support Plans

Premier Support and Platinum Premier Support are annually renewable membership programs that provide you with important benefits including technical support, product maintenance, and substantial cost-saving features for your GAUSS System or the GAUSS Engine.

• ### User Forums

Join our community to see why our users are considered some of the most active and helpful in the industry!