# Package sagbi/SB.FindLTRepr glpk

From ApCoCoAWiki

< Package sagbi

Revision as of 17:28, 27 October 2020 by Andraschko (talk | contribs) (Created page with "{{Version|2}} <command> <title>SB.FindLTRepr_glpk</title> <short_description>The same as Package sagbi/SB.FindLTRepr, just using the GLPK package.</sh...")

This article is about a function from ApCoCoA-2. |

## SB.FindLTRepr_glpk

The same as Package sagbi/SB.FindLTRepr, just using the GLPK package.

### Syntax

SB.FindLTRepr_glpk(t: POLY, T: LIST of POLY): LIST

### Description

@param

`t`A term, i.e. a monic polynomial with only one term in its support@param

`T`A list`[t1,...,ts]`of terms in the same polynomial ring as`t`@return A list

`[a1,...,as]`such that`t = t1^a1 * ... * ts^as`or`[]`if such a list doesn't exist.

#### Example

Use QQ[x,y,z]; t := x^2*y^5*z^3; T := [x*y, y*z^2, x*z, y]; SB.FindLTRepr_glpk(t,T); -- [1, 1, 1, 3]

### See also

Package sagbi/SB.ReductionStep