[Scip] Populate SCIP_VARs from a problem object

Vivek Periaraj vivek.periaraj at gmail.com
Sat Mar 9 06:24:22 MET 2013


Pls ignore. SCIPgetVars() and SCIPgetCons() worked fine.

Vivek.


----- Original Message ----- 

From: "Vivek Periaraj" <vivek.periaraj at gmail.com> 
To: scip at zib.de 
Sent: Saturday, March 9, 2013 9:49:18 AM 
Subject: Populate SCIP_VARs from a problem object 

Hello List, 

I have loaded a problem object by reading from a LP file. I am able to solve this model successfully. I would like to know which API I should use to populate the variables and constraints into SCIP_VAR and SCIP_CONS data structures after the problem object is created from the LP file? The normal way is to first create variables and constraints and then add to the problem object one at a time. 

Regards, 
Vivek. 


More information about the Scip mailing list