|
Go to the documentation of this file.
35 struct SCIP_ConshdlrData
60 assert(conshdlrdata != NULL);
61 assert(conshdlrdata->objconshdlr != NULL);
62 assert(conshdlrdata->objconshdlr->scip_ != scip);
64 if( conshdlrdata->objconshdlr->iscloneable() )
67 newobjconshdlr = dynamic_cast<scip::ObjConshdlr* > (conshdlrdata->objconshdlr->clone(scip, valid));
83 assert(conshdlrdata != NULL);
84 assert(conshdlrdata->objconshdlr != NULL);
85 assert(conshdlrdata->objconshdlr->scip_ == scip);
88 SCIP_CALL( conshdlrdata->objconshdlr->scip_free(scip, conshdlr) );
91 if( conshdlrdata->deleteobject )
92 delete conshdlrdata->objconshdlr;
109 assert(conshdlrdata != NULL);
110 assert(conshdlrdata->objconshdlr != NULL);
111 assert(conshdlrdata->objconshdlr->scip_ == scip);
114 SCIP_CALL( conshdlrdata->objconshdlr->scip_init(scip, conshdlr, conss, nconss) );
127 assert(conshdlrdata != NULL);
128 assert(conshdlrdata->objconshdlr != NULL);
131 SCIP_CALL( conshdlrdata->objconshdlr->scip_exit(scip, conshdlr, conss, nconss) );
144 assert(conshdlrdata != NULL);
145 assert(conshdlrdata->objconshdlr != NULL);
148 SCIP_CALL( conshdlrdata->objconshdlr->scip_initpre(scip, conshdlr, conss, nconss) );
161 assert(conshdlrdata != NULL);
162 assert(conshdlrdata->objconshdlr != NULL);
165 SCIP_CALL( conshdlrdata->objconshdlr->scip_exitpre(scip, conshdlr, conss, nconss) );
178 assert(conshdlrdata != NULL);
179 assert(conshdlrdata->objconshdlr != NULL);
182 SCIP_CALL( conshdlrdata->objconshdlr->scip_initsol(scip, conshdlr, conss, nconss) );
195 assert(conshdlrdata != NULL);
196 assert(conshdlrdata->objconshdlr != NULL);
199 SCIP_CALL( conshdlrdata->objconshdlr->scip_exitsol(scip, conshdlr, conss, nconss, restart) );
212 assert(conshdlrdata != NULL);
213 assert(conshdlrdata->objconshdlr != NULL);
216 SCIP_CALL( conshdlrdata->objconshdlr->scip_delete(scip, conshdlr, cons, consdata) );
229 assert(conshdlrdata != NULL);
230 assert(conshdlrdata->objconshdlr != NULL);
233 SCIP_CALL( conshdlrdata->objconshdlr->scip_trans(scip, conshdlr, sourcecons, targetcons) );
246 assert(conshdlrdata != NULL);
247 assert(conshdlrdata->objconshdlr != NULL);
250 SCIP_CALL( conshdlrdata->objconshdlr->scip_initlp(scip, conshdlr, conss, nconss) );
263 assert(conshdlrdata != NULL);
264 assert(conshdlrdata->objconshdlr != NULL);
267 SCIP_CALL( conshdlrdata->objconshdlr->scip_sepalp(scip, conshdlr, conss, nconss, nusefulconss, result) );
280 assert(conshdlrdata != NULL);
281 assert(conshdlrdata->objconshdlr != NULL);
284 SCIP_CALL( conshdlrdata->objconshdlr->scip_sepasol(scip, conshdlr, conss, nconss, nusefulconss, sol, result) );
297 assert(conshdlrdata != NULL);
298 assert(conshdlrdata->objconshdlr != NULL);
301 SCIP_CALL( conshdlrdata->objconshdlr->scip_enfolp(scip, conshdlr, conss, nconss, nusefulconss, solinfeasible, result) );
314 assert(conshdlrdata != NULL);
315 assert(conshdlrdata->objconshdlr != NULL);
318 SCIP_CALL( conshdlrdata->objconshdlr->scip_enfops(scip, conshdlr, conss, nconss, nusefulconss,
319 solinfeasible, objinfeasible, result) );
332 assert(conshdlrdata != NULL);
333 assert(conshdlrdata->objconshdlr != NULL);
336 SCIP_CALL( conshdlrdata->objconshdlr->scip_check(scip, conshdlr, conss, nconss, sol,
337 checkintegrality, checklprows, printreason, result) );
350 assert(conshdlrdata != NULL);
351 assert(conshdlrdata->objconshdlr != NULL);
354 SCIP_CALL( conshdlrdata->objconshdlr->scip_prop(scip, conshdlr, conss, nconss, nusefulconss, nmarkedconss, proptiming, result) );
367 assert(conshdlrdata != NULL);
368 assert(conshdlrdata->objconshdlr != NULL);
371 SCIP_CALL( conshdlrdata->objconshdlr->scip_presol(scip, conshdlr, conss, nconss, nrounds,
372 nnewfixedvars, nnewaggrvars, nnewchgvartypes, nnewchgbds, nnewholes,
373 nnewdelconss, nnewaddconss, nnewupgdconss, nnewchgcoefs, nnewchgsides,
374 nfixedvars, naggrvars, nchgvartypes, nchgbds, naddholes,
375 ndelconss, naddconss, nupgdconss, nchgcoefs, nchgsides, result) );
388 assert(conshdlrdata != NULL);
389 assert(conshdlrdata->objconshdlr != NULL);
392 SCIP_CALL( conshdlrdata->objconshdlr->scip_resprop(scip, conshdlr, cons, infervar, inferinfo, boundtype, bdchgidx,
393 relaxedbd, result) );
406 assert(conshdlrdata != NULL);
407 assert(conshdlrdata->objconshdlr != NULL);
410 SCIP_CALL( conshdlrdata->objconshdlr->scip_lock(scip, conshdlr, cons, nlockspos, nlocksneg) );
423 assert(conshdlrdata != NULL);
424 assert(conshdlrdata->objconshdlr != NULL);
427 SCIP_CALL( conshdlrdata->objconshdlr->scip_active(scip, conshdlr, cons) );
440 assert(conshdlrdata != NULL);
441 assert(conshdlrdata->objconshdlr != NULL);
444 SCIP_CALL( conshdlrdata->objconshdlr->scip_deactive(scip, conshdlr, cons) );
457 assert(conshdlrdata != NULL);
458 assert(conshdlrdata->objconshdlr != NULL);
461 SCIP_CALL( conshdlrdata->objconshdlr->scip_enable(scip, conshdlr, cons) );
474 assert(conshdlrdata != NULL);
475 assert(conshdlrdata->objconshdlr != NULL);
478 SCIP_CALL( conshdlrdata->objconshdlr->scip_disable(scip, conshdlr, cons) );
490 assert(conshdlrdata != NULL);
491 assert(conshdlrdata->objconshdlr != NULL);
494 SCIP_CALL( conshdlrdata->objconshdlr->scip_delvars(scip, conshdlr, conss, nconss) );
506 assert(conshdlrdata != NULL);
507 assert(conshdlrdata->objconshdlr != NULL);
510 SCIP_CALL( conshdlrdata->objconshdlr->scip_print(scip, conshdlr, cons, file) );
522 assert(sourceconshdlrdata != NULL);
523 assert(sourceconshdlrdata->objconshdlr != NULL);
526 SCIP_CALL( sourceconshdlrdata->objconshdlr->scip_copy(scip, cons, name, sourcescip, sourceconshdlr, sourcecons, varmap, consmap,
527 initial, separate, enforce, check, propagate, local, modifiable, dynamic, removable, stickingatnode, global, valid) );
539 assert(conshdlrdata != NULL);
540 assert(conshdlrdata->objconshdlr != NULL);
543 SCIP_CALL( conshdlrdata->objconshdlr->scip_parse(scip, conshdlr, cons, name, str,
544 initial, separate, enforce, check, propagate, local, modifiable, dynamic, removable, stickingatnode, success) );
556 assert(conshdlrdata != NULL);
557 assert(conshdlrdata->objconshdlr != NULL);
560 SCIP_CALL( conshdlrdata->objconshdlr->scip_getvars(scip, conshdlr, cons, vars, varssize, success) );
572 assert(conshdlrdata != NULL);
573 assert(conshdlrdata->objconshdlr != NULL);
576 SCIP_CALL( conshdlrdata->objconshdlr->scip_getnvars(scip, conshdlr, cons, nvars, success) );
596 assert(scip != NULL);
597 assert(objconshdlr != NULL);
598 assert(objconshdlr-> scip_ == scip);
602 conshdlrdata->objconshdlr = objconshdlr;
603 conshdlrdata->deleteobject = deleteobject;
613 consFreeObj, consInitObj, consExitObj,
614 consInitpreObj, consExitpreObj, consInitsolObj, consExitsolObj,
615 consDeleteObj, consTransObj, consInitlpObj,
616 consSepalpObj, consSepasolObj, consEnfolpObj, consEnfopsObj, consCheckObj,
617 consPropObj, consPresolObj, consRespropObj, consLockObj,
618 consActiveObj, consDeactiveObj,
619 consEnableObj, consDisableObj, consDelVarsObj,
620 consPrintObj, consCopyObj, consParseObj,
621 consGetVarsObj, consGetNVarsObj, conshdlrdata) );
636 if( conshdlr == NULL )
640 assert(conshdlrdata != NULL);
642 return conshdlrdata->objconshdlr;
654 assert(conshdlrdata != NULL);
656 return conshdlrdata->objconshdlr;
|