[BCP] Starting out

António Duarte aduarte at ipb.pt
Wed Mar 11 07:36:29 EDT 2009


Hello,

 

I’m trying to put bcp to work but I’m having a problem.  I’m following the
bac example but it seems I’m missing something.

 

I started a blank project and did the following steps:

 

1.       Derived classes from USER_initialize, BCP_tm_user and BCP_lp_user;

2.       Overridden tm_init and lp_init in USER_initialize derived class to
return pointers to the other derived classes;

3.       Called bcp_main(
) and passed a pointer to an instance of
USER_initialize derived class.

 

The code compiles ok. When running, tm_init() is executed and after that a
segmentation fault occurs.

 

Am I forgetting something? I did not create any columns or rows in the
problem. I’m just putting the code to work in an empty problem. Do you think
maybe this is the reason? Do I need to set up a problem?

 

I’m using version 1.2.1 of bcp.

 

Thanks in advance,

Antonio Duarte

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/bcp/attachments/20090311/994ba6fd/attachment.html 


More information about the BCP mailing list