[SCIP] SCIP 8 can read AMPL NL-file but how to write AMPL SOL-file ?

Vladimir V. Voloshinov vladimir.voloshinov at gmail.com
Sun Mar 13 23:41:05 CET 2022


Sorry,
when I read the Section 7.1 of "The SCIP Optimization Suite 8.0" again I
understood that I did not follow your instructions.
I erroneously have run SCIP by interactive shell:
"SCIP> read problem.nl optimize write/solution"...

The command
$ scip problem.nl -AMPL
gave the AMPL SOL-file as I expected.

And still the question remains: is it possible to get AMPL SOL via SCIP
interactive shell?
I see the function SCIPwriteSolutionNl() in SCIP API (
https://scipopt.org/doc/html/reader__nl_8h.php)...

Yours, Vladimir.

On Sun, Mar 13, 2022 at 10:36 PM Vladimir V. Voloshinov <
vladimir.voloshinov at gmail.com> wrote:

> Hi,
> I tried SCIP-application (v8) with some AMPL NL-file as input problem
> data. It was accepted, the problem has been solved.
> But the command "write/solution" wrote the solution in CIP-format !
> Is it possible to get the solution in AMPL SOL-format ? (We use Python
> Pyomo package to write NL-files and read solutions in AMPL SOL-formats)
> I can not find the "write/amplsol" command in SCIP v8 (as it was in
> SCIPAMPL application in previous versions)...
>
> Sincerely yours,
> Vladimir
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20220314/7f3a7dfc/attachment.html>


More information about the Scip mailing list