Home
last modified time | relevance | path

Searched refs:consnames (Results 1 – 9 of 9) sorted by relevance

/dports/math/SCIP/scip-7.0.3/src/scip/
H A Dreader_cor.c42 const char** consnames; member
67 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &readerdata->consnames, readerdata->consnamessize) ); in createReaderdata()
88 … SCIPfreeBlockMemoryArray(scip, &readerdata->consnames[i], strlen(readerdata->consnames[i]) + 1); in freeReaderdata()
90 SCIPfreeBlockMemoryArray(scip, &readerdata->consnames, readerdata->consnamessize); in freeReaderdata()
193 …IP_CALL( SCIPreadMps(scip, reader, filename, result, &readerdata->varnames, &readerdata->consnames, in SCIPreadCor()
288 return readerdata->consnames[i]; in SCIPcorGetConsName()
H A Dreader.c285 const char** consnames = NULL; in SCIPreaderWrite() local
373 SCIP_CALL( SCIPsetAllocBufferArray(set, &consnames, nconss) ); in SCIPreaderWrite()
411 consnames[i] = SCIPconsGetName(cons); in SCIPreaderWrite()
436 assert(consnames != NULL); in SCIPreaderWrite()
446 SCIPconsSetNamePointer(cons, consnames[i]); in SCIPreaderWrite()
456 SCIPsetFreeBufferArray(set, &consnames); in SCIPreaderWrite()
H A Dreader_mps.c701 if( consnames != NULL ) in addConsNameToStorage()
3235 (*consnames)[i] = consname; in checkConsnames()
3248 SCIPfreeBufferArray(scip, consnames); in checkConsnames()
3376 assert(consnames[c] != NULL); in printRhsSection()
3427 assert( consnames[c] != NULL ); in printRangeSection()
3897 const char** consnames; in SCIPwriteMps() local
4117 consname = consnames[c]; in SCIPwriteMps()
4477 consnames[k] = rowname; in SCIPwriteMps()
4522 consnames[k] = rowname; in SCIPwriteMps()
4993 SCIPfreeBufferArray(scip, &consnames[c]); in SCIPwriteMps()
[all …]
H A Dreader_mps.h70 const char*** consnames, /**< storage for the constraint names, or NULL */
H A Dstruct_prob.h58 SCIP_HASHTABLE* consnames; /**< hash table storing constraints' names */ member
H A Dprob.c307 SCIP_CALL( SCIPhashtableCreate(&(*prob)->consnames, blkmem, in SCIPprobCreate()
312 (*prob)->consnames = NULL; in SCIPprobCreate()
507 if( (*prob)->consnames != NULL ) in SCIPprobFree()
509 SCIPhashtableFree(&(*prob)->consnames); in SCIPprobFree()
1246 if( consHasName(cons) && prob->consnames != NULL ) in SCIPprobAddConsName()
1248 SCIP_CALL( SCIPhashtableInsert(prob->consnames, (void*)cons) ); in SCIPprobAddConsName()
1261 if( consHasName(cons) && prob->consnames != NULL ) in SCIPprobRemoveConsName()
1264 currentcons = (SCIP_CONS*)SCIPhashtableRetrieve(prob->consnames, (void*)(cons->name)); in SCIPprobRemoveConsName()
1267 SCIP_CALL( SCIPhashtableRemove(prob->consnames, (void*)cons) ); in SCIPprobRemoveConsName()
2153 if( prob->consnames == NULL ) in SCIPprobFindCons()
[all …]
/dports/math/SCIP/scip-7.0.3/tests/src/nlpi/
H A Dnlpi.c105 const char* consnames[3] = {"c1", "c2", "c3"}; in testNlpi() local
151 NULL, NULL, &consnames[0]) ); in testNlpi()
159 NULL, NULL, &consnames[1]) ); in testNlpi()
167 NULL, NULL, &consnames[2]) ); in testNlpi()
/dports/math/SCIP/scip-7.0.3/src/nlpi/
H A Dnlpioracle.h108 …const char** consnames /**< names of new constraints, or NULL if no names shoul…
H A Dnlpioracle.c1547 …const char** consnames /**< names of new constraints, or NULL if no names shoul… in SCIPnlpiOracleAddConstraints() argument
1580 consnames != NULL ? consnames[c] : NULL in SCIPnlpiOracleAddConstraints()