[Scip] some questions about the file readers in the coloring example

Xiangyong Li lixiangyong at 163.com
Sun Dec 20 22:52:24 MET 2009


Dear all,

I tried to understand the file reader "READERREAD" in the coloring example given below.


/** problem reading method of reader */
static
SCIP_DECL_READERREAD(readerReadCol)
{  /*lint --e{715}*/
   assert(reader != NULL);
   assert(strcmp(SCIPreaderGetName(reader), READER_NAME) == 0);
   assert(scip != NULL);
   assert(result != NULL);
   
   SCIP_CALL( readCol(scip, filename) );
   
   *result = SCIP_SUCCESS;
   
   return SCIP_OKAY;
}

I have some questions:
(1) in the aboer "READERREAD", are reader and result the reserverd words in SCIP system?  If not, why we can use them without definition.
(2) in the calling of subroutine "readCol", where the filename is defined?


Thanks for your help. 

Xiangyong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.zib.de/mailman/private/scip/attachments/20091220/e9b3f9fd/attachment.html


More information about the Scip mailing list