GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
// The usual Header.1#include "loadgap.h"2#include "polymake_data.h"34#include <polymake/Main.h>5#include <polymake/Matrix.h>6#include <polymake/Rational.h>7//#include <polymake/common/lattice_tools.h>89#include <iostream>10#include <map>11#include <utility>1213using std::cerr;14using std::endl;15using std::string;16using std::map;17using std::pair;1819// Method creates cones by raylists20Obj REAL_CREATE_CONE_BY_RAYS( Polymake_Data* , Obj );2122Obj REAL_CREATE_CONE_BY_RAYS_UNSAVE( Polymake_Data* , Obj );2324// This method might need some words25// Inequalities are given by lists of integers.26// [a,b,..] means the cone contains all points27// which are of the form ax+by+...>=0.28// The lists so are raygenerators of the dual cone.29Obj REAL_CREATE_CONE_BY_INEQUALITIES( Polymake_Data*, Obj );3031Obj REAL_CREATE_CONE_BY_EQUALITIES_AND_INEQUALITIES( Polymake_Data*, Obj, Obj );3233// Method creates the dual cone of a cone34Obj REAL_CREATE_DUAL_CONE_OF_CONE( Polymake_Data*, Obj );3536Obj REAL_GENERATING_RAYS_OF_CONE( Polymake_Data*, Obj );3738Obj REAL_HILBERT_BASIS_OF_CONE( Polymake_Data*, Obj );3940Obj REAL_RAYS_IN_FACETS( Polymake_Data*, Obj );4142Obj REAL_DEFINING_INEQUALITIES_OF_CONE( Polymake_Data*, Obj );4344Obj REAL_LINEALITY_SPACE_OF_CONE( Polymake_Data* , Obj );4546Obj REAL_EQUALITIES_OF_CONE( Polymake_Data*, Obj);4748Obj REAL_INTERSECTION_OF_CONES( Polymake_Data*, Obj, Obj );495051