<div dir="ltr"><div><div>Hi Feng<br><br></div>This happens because you are trying to write your problem into a format that doesn't necessarily supports the type of constraints your constraint handler generates.<br></div><div>If you would write to a cip file, then everything should work fine (of course you have to implement the CONSPRINT callback)<br><br></div><div>To get rid of the warning, I guess you would have to modify the reader of the target format you are writing to (this only makes sense if the target format can actually read the constraints your generate).<br></div><div>For instance if you are writing your problem to "problem.lp" you would have to modify reader_lp.c so that the constraints of your constraint handler get written to something that conforms to the lp format.<br><br></div><div>Hope this helps.<br><br></div><div>Best,<br></div><div>Felipe<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 10:18 PM, Feng Gao <span dir="ltr"><<a href="mailto:fgao784@gmail.com" target="_blank">fgao784@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>Recently, I implement my own constraint handler in SCIP. Now other things seem right, except for the message "warning: constraint handler <...> cannot print requested format". Right now, I do not know where this warning comes from.</div><div><br></div><div>What else am I missing? Or what callback should I implement in my constraint handler to get rid of this warning? Any help is greatly appreciated.</div><div><br></div><div>Best regards,</div><div><br></div><div>Feng Gao</div></div>
<br>_______________________________________________<br>
Scip mailing list<br>
<a href="mailto:Scip@zib.de">Scip@zib.de</a><br>
<a href="http://listserv.zib.de/mailman/listinfo/scip" rel="noreferrer" target="_blank">http://listserv.zib.de/mailman/listinfo/scip</a><br>
<br></blockquote></div><br></div>