[SCIP] the parameter initial in SCIPcreateVar()

Benjamin Müller benjamin.mueller at zib.de
Fri Aug 24 10:42:17 CEST 2018


Dear Myroslav,

consider the following possible scenario: Imagine that you have a 
non-initial constraint and you are reformulating it by introducing new 
variables and new constraints. The corresponding columns of the 
additional variables should only be part of the LP as soon as the 
reformulated (and also non-initial) constraints add some rows to the LP. 
This happens in some of the handlers for nonlinear constraints, e.g., 
cons_quadratic, cons_abspower, cons_bivariate, and in the xor constraint 
handler that adds an extended (flow) formulation.

Best,
Benny

On 08/22/2018 01:10 PM, myroslav wrote:
> Dear SCIP community,
>
> Why would one ever want to flag a variable as "not initial" in in 
> SCIPcreateVar()?
>
> Thanks,
> Myroslav
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip



More information about the Scip mailing list