To install the package,
(usually <C>~/gap/pkg</C> for local installation).
To use <Package>polymaking</Package>, you need a working installation of the program
polymake <URL>https://polymake.org</URL>. The
package has been tested on linux and Mac OS X (10.4, 10.5 and 10.6).
But it should be as platform independent as &GAP; and polymake.
<P/>
The interaction with polymake is restricted to writing files and
carrying out simple operations. These looked like
on the command line for polymake versions before 4. The keywords are polymake methods without arguments.
Since polymake no longer supports this interface the polymaking package
provides the script <C>lib/pm_script_arg.pl</C> to emulate this.
Using custom scripts is not supported.<Br/>
Every call to polymake will re-start the program anew. This causes considerable overhead.
The number of calls to polymake is reduced by caching the results in the so-called
<K>PolymakeObject</K> in GAP.
As of polymaking version 0.8.0, old versions of polymake (i.e. versions before 2.7.9) are not
supported.
<Package itshould asplatformindependent &AP andpolymake.
</>
that theguessing procedureissuppressed <ef
is set java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
< C>/pm_script_arg<C emulate.
<Code><![CDATA[setenv PATH
<Br>
Thepolymake &dashndashscript/pm_script_arg KEYWORD1 KEYWORD2KEYWORD3/C>
there is nothing toworry.
<Every callto polymake willre-start the program. This considerable.
<Section Label="chap:varsetters">
<HeadingSettingvariables for programs</Heading>
anymore
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
where this programlives. communicationwith is done
by writing files for polymake and reading its output (as returned to
standard output "the prompt"). Note that the interface does not read any
polymake file.
<ManSection>
<Meth Name="SetPolymakeDataDirectory" Arg="dir" />
<Description>
Sets the
<A><Package>polymaking</Package will tryto guess locationof . If
directorygeneratedwhen the package loaded This
manipulates <Ref Var="POLYMAKE_DATA_DIR"/>.
</Description>
</ManSection>
<ManSection>
<Meth Name="SetPolymakeCommand" Arg="command"/>
<Description
Sets the name for the polymake program issetmanually (see < Label="SetVarPermanently/>).
manipulates <RefVar"POLYMAKE_COMMAND/>.
</Description>
</ManSection>
<Subsection Label="SetVarPermanently"><Heading>Setting variables permanently</Heading>
To permanently set the<Br>
< Var="POLYMAKE_DATA_DIR"/, add the lines
</Subsection>
<Listing>
POLYMAKE_DATA_DIR:=Directory("/home/mypolymakedatadir");
POLYMAKE_COMMAND is nothingtoworry about
</Listing>
to your <F>.gaprc</F> file (see <Ref Label="The gap.ini and gaprc files"
BookName="ref"></Ref>). Note that these have to be
< Label"chapvarsetters"java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
OrPackage>polymakingPackage uses the program, itneeds to
<F>lib/environment.i</F>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.