[Scip] AMPL-like display command

Mike Steglich mike.steglich at th-wildau.de
Wed Jul 24 09:25:19 MEST 2013


Hello Tetsuya,

An opportunity to use Scip in the way you mentioned could be pyCmpl that is the Python API for CMPL. CMPL is able to execute Scip directly. If your are interested you could take a look at the CMPL manual especially at chapter 11. 
http://www.coliop.org/download/CMPL.pdf

Thanks,

Mike

Am 23.07.2013 um 13:38 schrieb dash_3_0_0 at yahoo.co.jp:

> Dear Stefan,
> 
> 
> Thank you for your reply.
> 
> I'm sad to hear that.
> 
> I think SCIP (and ZIMPL) would be great if it has this functionality, as AMPL.
> This functionality is pretty useful when I debug some problem.
> 
> Thanks again!
> 
> All the best,
> Tetsuya
> 
> 
> 2013/7/23 Stefan Vigerske <stefan at math.hu-berlin.de>:
>> Hi,
>> 
>> ZIMPL does not offer functionality to process a solution after a solve. It
>> stops at the place where the model has been transfered to the solver.
>> 
>> Stefan
>> 
>> 
>> On 07/23/2013 11:54 AM, dash_3_0_0 at yahoo.co.jp wrote:
>>> 
>>> Dear Gregor,
>>> 
>>> Thank for your kind instruction.
>>> I tried "display" and "write" commands.
>>> 
>>> However, I haven't got to the answer I want.
>>> 
>>> For example, in /zimpl-3.3.1/example/queens2.zlp
>>> 
>>> All I want to do is, to display the optimized solution x such that x=3.
>>> In AMPL, I can write like this  -->   display { i in I : x[i]=1 } x[i];
>>> 
>>> How can I do this, using "display" or "write" command, or another
>>> command??
>>> 
>>> All the best,
>>> Tetsuya
>>> 
>>> 2013/7/23 Gregor Hendel <hendel at zib.de>:
>>>> 
>>>> Hi Tetsuya,
>>>> 
>>>> yes, SCIP provides such a display functionality: From the interactive
>>>> shell, type 'display' to see a list of displayable problem or
>>>> solver-related
>>>> components. The redirection functionality of Ampl's display-command is
>>>> similar to the 'write' command in SCIP:
>>>> Typing 'write' lists all you could ever think of writing to a file.
>>>> 
>>>> Cheers,
>>>> Gregor
>>>> 
>>>> Am 23.07.2013 06:57, schrieb dash_3_0_0 at yahoo.co.jp:
>>>>> 
>>>>> Dear SCIP community,
>>>>> 
>>>>> Does SCIP(or ZIMPL) have "display" command like AMPL?
>>>>> 
>>>>> Thank you in advance.
>>>>> 
>>>>> Tetsuya
>>>>> 
>>>>> --
>>>>> Tetsuya SUGA
>>>>>> From JAPAN.
>>>>> _______________________________________________
>>>>> Scip mailing list
>>>>> Scip at zib.de
>>>>> http://listserv.zib.de/mailman/listinfo/scip
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Scip mailing list
>>>> Scip at zib.de
>>>> http://listserv.zib.de/mailman/listinfo/scip
>>> 
>>> 
>>> 
>>> 
>> 
> 
> 
> 
> -- 
> Tetsuya SUGA
>> From JAPAN.
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip




More information about the Scip mailing list