[SCIP] About Interactive Shell Problem

朱外明 zhuwaiming at mail.hfut.edu.cn
Mon Nov 20 07:03:33 CET 2017


Hi Ambros Gleixner,

    Thanks very much for your kind response and advices. 

    Compling with dbg mode is a good suggestion. I have tried but not successed till now. I will try again to make dbg mode workable. 

    Maybe it is a memory problem. Because it is probably that some created objects are not destroyed in time. I would check my program very carefully. I also will use the tool-valgrind as you suggested. 

    Your advices are very helpful. You are so kind. SCIP is really a good tool. Thank you!

    With Best regards!

    Zhu Waiming



> -----原始邮件-----
> 发件人: "Ambros Gleixner" <gleixner at zib.de>
> 发送时间: 2017年11月18日 星期六
> 收件人: scip at zib.de
> 抄送: 
> 主题: Re: [SCIP] About Interactive Shell Problem
> 
> Hi Zhu Waiming,
> 
> This sounds indeed strange.  Could you compile with "make OPT=dbg", both 
> SCIP and your example?  Maybe make a "make OPT=dbg clean" before to be 
> sure everything is freshly compiled.
> 
> Afterwards you could run it with valgrind ("valgrind bin/SCP") and see 
> whether there is some memory corruption that could be blamed.
> 
> Best of luck,
> Ambros
> 
> 
> 
> 
> On 16.11.2017 11:54, 朱外明 wrote:
> > Hi, respectable developers and dear friends,
> > 
> >      I want to use SCIP to construct a branch and price algorithm. But I 
> > encouter a problem after make my program. Now I am eager for your 
> > instruction. The main problem is: it will quit from the interactive 
> > shell to bash command frequently.
> > *
> > *
> >      According to the instruction of Doxygen Documentation and 
> > binpacking example, I write my own main/reader/pricer/brancher and some 
> > auxiliary files. (my brancher file is not completed yet, but I have 
> > included it in the main file.) The main file of mine is extremely 
> > similar with the one of binpacking problem program. However, binpacking 
> > is running well while my algorithm does not work. I have picked some 
> > screen shotcuts to show that case:
> > 
> > Make my program (successfully) , enter the interactive shell 
> > (successfully) :
> > 
> > 
> > 
> > There is something wired that there is a directory located after the 
> > "SCIP > ", which is much different from binpacking, showing below:
> > 
> > 
> > 
> > What's more, if I typed some commands, the interactive shell would flash 
> > quit!
> > 
> > 
> > 
> > which is much different from binpacking:
> > 
> > 
> > 
> >      In m! y main file, the function "SCIPprocessShellArguments" is 
> > called in the same way of binpacking. So I really do not know why this 
> > happen. And I checked the Doxygen Documantation especially the part "How 
> > to add..." but found no keys.
> > 
> >      Because of the flash quit, I can't read my problem and get it 
> > optimized. Is there any pioneers who have encoutered the same trouble? 
> > Or somebody who could tell me why and how to make it works? I am 
> > appraciated that if anybody who answers me with or without instructions. 
> > Thank you!
> > 
> >      Great respect to the developers of SCIP!
> > 
> > 
> > 
> >      Best regards!
> > 
> > 
> > 
> > ------------------------------------------------
> > Zhu Waiming (zhuwaiming at mail.hfut.edu.cn)
> > Hefei University of technology, China
> > orcid.org/0000-0001-7134-6584
> > https://www.researchgate.net/profile/Zhu_Waiming
> > 
> > 2017-11-16
> > 
> > 
> > _______________________________________________
> > Scip mailing list
> > Scip at zib.de
> > https://listserv.zib.de/mailman/listinfo/scip
> > 
> 
> -- 
> Ambros Gleixner, Research Group Mathematical Optimization Methods at 
> Zuse Institute Berlin, http://www.zib.de/gleixner
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip




More information about the Scip mailing list