[Scip] problem while adding a new separator

Stefan Vigerske stefan at math.hu-berlin.de
Thu Oct 11 11:38:05 MEST 2012


Hi,

parameters like calling priority and frequency are set by calling the 
upper class constructor in the constructor of your separator class, e.g.,

MySepa::MySepa(SCIP* scip)
: ObjSepa(scip, "mysepaname", "my sepa description", 0, 1, 1.0, false, 
false)
{ }

Stefan

On 10/09/2012 11:57 PM, Ahmad Moradi wrote:
> Hi all,
>
>
> I am going to add a separator to scip using the ObjSepa class which is very
> similar to gomory separator. I did, and instead of the interface method I
> used SCIPincludeObjSepa() method. scip successfully added the separator,
> however it will not call it. Do you guess what is the problem happening
> inside?
>
> I checked and I found that no parameter is available for the separator but
> the basic ones inherited from the base class. Is that the reason why scip
> does not use the separator? I tried to add exactly the same parameters that
> scip itself will add to gomory through its interface
> method SCIPincludeSepaGomory. but the problem is i am not able to access
> sepadata member of my sepa object? could you please tell me how to
> correctly add those parameters?
>
> Ahmad
>
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip
>



More information about the Scip mailing list