Singular Manual: minimalValue

  | #### D.16.2.30 minimalValue `Syntax:` `Polymake::minimalValue(` polytope p, intvec v `)` `Assume:` v lies in the dual tail cone of p. `Type:` int `Purpose:` the minimal value of the linear form v on p. `Note:` The first coordinate of v corresponds to a shift of the minimal value since p is considered as a polytope in the plane (first coordinate) = 1. `Example:`
        LIB"polymake.lib";
      ==> Welcome to polymake version
      ==> Copyright (c) 1997-2015
      ==> Ewgenij Gawrilow, Michael Joswig (TU Darmstadt)
      ==> http://www.polymake.org
        intmat M[3][3]=1,1,0, 1,0,1, 1,-1,-1;
        intvec v = 0,1,1;
        polytope p = polytopeViaPoints(M);
        Polymake::minimalValue(p,v);
      ==> polymake: used package cdd
      ==>   cddlib
      ==>   Implementation of the double description method of Motzkin et al.
      ==>   Copyright by Komei Fukuda.
      ==>   http://www.ifor.math.ethz.ch/~fukuda/cdd_home/cdd.html
      ==>
      ==> polymake: used package ppl
      ==>   The Parma Polyhedra Library (PPL): A C++ library for convex polyhedra
      ==>   and other numerical abstractions.
      ==>   http://www.cs.unipr.it/ppl/
      ==>
      ==> -2
        v = -5,1,1;
        Polymake::minimalValue(p,v);
      ==> -7

User manual for Singular version 4-0-3p3, 2016, generated by texi2html.