|
Go to the documentation of this file.
35 struct SCIP_ReaderData
60 assert(readerdata != NULL);
61 assert(readerdata->objreader != NULL);
62 assert(readerdata->objreader->scip_ != scip);
64 if( readerdata->objreader->iscloneable() )
67 newobjreader = dynamic_cast<scip::ObjReader* > (readerdata->objreader->clone(scip));
83 assert(readerdata != NULL);
84 assert(readerdata->objreader != NULL);
85 assert(readerdata->objreader->scip_ == scip);
88 SCIP_CALL( readerdata->objreader->scip_free(scip, reader) );
91 if( readerdata->deleteobject )
92 delete readerdata->objreader;
109 assert(readerdata != NULL);
110 assert(readerdata->objreader != NULL);
111 assert(readerdata->objreader->scip_ == scip);
114 SCIP_CALL( readerdata->objreader->scip_read(scip, reader, filename, result) );
127 assert(readerdata != NULL);
128 assert(readerdata->objreader != NULL);
131 SCIP_CALL( readerdata->objreader->scip_write(scip, reader, file, name, probdata, transformed,
132 objsense, objscale, objoffset,
133 vars, nvars, nbinvars, nintvars, nimplvars, ncontvars, fixedvars, nfixedvars, startnvars,
134 conss, nconss, maxnconss, startnconss, genericnames, result) );
154 assert(scip != NULL);
155 assert(objreader != NULL);
159 readerdata->objreader = objreader;
160 readerdata->deleteobject = deleteobject;
165 readerFreeObj, readerReadObj, readerWriteObj, readerdata) );
184 assert(readerdata != NULL);
186 return readerdata->objreader;
198 assert(readerdata != NULL);
200 return readerdata->objreader;
|