Font Size: a A A

Solving A System Of Linear Diophantine Equations With Bounded Variables

Posted on:2010-01-27Degree:MasterType:Thesis
Country:ChinaCandidate:X S ZhangFull Text:PDF
GTID:2120360272496922Subject:Computational Mathematics
Abstract/Summary:PDF Full Text Request
Diophantine equation theory can be traced back to very early, especially linear Diophantine equation problem. With the rapid development of computer science in many fields, the peoblem of linear Diophantine equations has attracted more attention again. In fact, most practical problems of linear Diophantine equations contain constraint conditions. So far, there have been many studies to the problems with constraint conditions, some of which make some good results. The first chapter of this paper is devoted to a number of classic and current popular method of solving linear Diophantine equations. However, these methods fail to give a complete characterization of constraint problems in the mathematical theory , but only in some special conditions. In computation, these algorithms are still very worthy of recognition and serve as new tools for other issues. In the second and third chapter, we develop a algebraic geometry method based on the integer programming, which gives a better answer of the constraint problems in both theory and computation.General linear Diophantine equations problem is to compute the integer solution x∈Zn of the linear system Ax = b, A = (ai,j)∈Zm×n,b = (bj)∈Zm. If all the solutions are confined to a certain constraints, the problem belongs to the category of the linear Diophantine equations problem with constraints. This problem has been recognized as NP-complete problem, and there are two kinds of the most representative and the most widely used problems as follows.1. Half bounds: the solvability of linear Diophantine system with the constraints x∈Nn.2. Full bounds: the solvability of linear Diophantine system with the con- straints l≤x≤r∈Zn.For the problem with full bounds, the system {Ax = b : l≤x≤r∈Zn} can be converted to {Ax' = b':0≤x≤u∈Nn} with x' = x - l, u = r - l. So we can directly consider the simplification of the problem with full bounds.The method in this paper is based on the subalgebra or ideal membership problem in algebraic geometry. In integer programming, there is a classic method that convert linear system to a equivalent ideal. For the linear system above, define a mapUsing the ring of Laurent polynomials, we can replace z1-1,…, zm-1} with a single variable t. Then the polynomials above are equivalent towith a'i,j = ai,j - ej, ej = min{ai,j : ai,j < 0}, b'i = bi - e, e = min{bi : bi < 0}.The problem with half bounds can be converted to the membership problem of the ideal J1 =〈tz1…zm - 1, f1 - y1,…, fn - yn〉∈k[t, z1,…,zm,y1,…,yn]. Let GJ1 be the reduced Gr(?)bner basis of J1 with respect to the elimination order:{t,zi} (?) yj. Forα∈Zn, let a+ = max{α,0},α- = max{-α,0},α=α+ -α-.Theorem 1. Let f, J1, GJ1 as before, and (?) is the remainder of f by GJ1, then (?) is a monomial; Specially, if (?)∈k[y1,…,yn], then (?)α∈In this paper, we convert the problem with full bounds to another ideal membership problem. Similarly, let J2 =〈tz1…zm - 1, w1f1 - v1,…,wn fn - vn〉∈k[t, z1,…,zm,v1,…,vn,w1…,wn], and GJ2 is the reduced Gr(?)bner basis of J2 with respect to the elimination order:{t, zi}(?) Let M = {x∈Nn : Ax = b, 0≤x≤u∈Nn\ {0} }. Theorem 2. Let h =(?), and the solution set Mas before, then M≠(?) if and only if h J2∈k[v1,…vn,w1,…, wn] ; Especially,if (?) , thenα∈M.Next, there is some discussions of the computation of the Hilbert basis of the homogeneous linear Diophantine system and all the solutions of the problem with full bounds. Simply speaking, if we regrad all non-trivial solutions of the Diophantine linear system Ax = 0 as a poset with respect to a order defined in§1.2.1. Then all the minimal elements in the poset is said to be the Hilbert basis (Defmition1.2), and denoted H. The computation of the Hilbert basis is the key of solving the problem with half bounds. Similar to the computation of classic toric ideal, the following proposition can improve the method of the computation of the Hilbert basis. Denoted k[t, Z, V, W] = k[t, z1,…, zm, v1,…, vn, w1,…, wn].Proposition 1. Let {α1,…,αp} be a lattice basis of ker(A)∩Zn, defineαideal J' =(?) Let S be the subset of J'∩k[V, W] consisting of elements of the form Vα-Wαfor someα∈Nn. Then {α: Vα- Wα∈S} is the Hilbert basis H.let G'J2 be the reduced Gr(?)bner basis of J2 with respect to the new elimination order:(?). So we can develop a algorithm to compute all the solutions of the problem with full bounds.Proposition 2. Let h =f·Wu, if (?), thenα∈M, and VαWu-α is the smallest of the set {VβWu-β :β∈M} with respect to the elimination order: (?).Let the elimination order in the above Proposition be the lex order: (?), then the partVαof VαWu-α is the biggest element in {Vx : 0≤x≤u, Ax = b} with respect to (?). For all the solutionsβ∈M, the corresponding monomial Vβmust be smaller than other Vα. So all the elements in M can be computed effectively. See Algorithm2.1 in§2.3.2.Thus, the method in this paper have been able to characterize the problem of linear Diophantine equations with bounded variables completely in theory. The following discussion is on the problems in computations.Definition 1. Letαi, i = 1,…,n be the i column of the matrix A. An ideal I is said to be the toric ideal of A, if the ideal I∈k[X] is the kernal of the map (?).With the appropriate selection of X , Tand A, it is easy to verify that all the following ideals are toric ideals.In [14], there is a detailed description of the properties of the toric ideal (?). With the appropriate selection of X , Tand A, it is not difficult to be extended the properties in [14] to thetoric ideal considered in this paper. Taking Buchberger algorithm for example, the advantages in the computation of Gr(?)bner basis of toric ideal is that the structure of polynomial can be replaced by the vector structure, i.e. replacing (?) byα∈Zn. And the computation of the polynomial reductions and S polynomial is equal to the subtraction of the corresponding vectors. So the Gr(?)bner basis of toric ideal can be defined in the vector form and the algorithm3.1 is an equivalent algorithm. To a certain extent, these properties can accelerate the speed of computation and also reflect some intrinsic relations between the method in this paper and the traditional linear algebra method.At last, we have made an attempt to compute the Gr(?)bner basis of toric ideal using F5 algorithm and proved that the generated polynomial sequence of the toric ideals in this paper is a regular sequence (see Definition3.3). In [22] there is a property that all the critical pairs can not be reduced to zero if the input polynomials is a regular sequence in F5 algorithm. So all the unnecessary reductions, which is the main reason for the complexity, will not be computed in F5 algorithm. But F5 algorithm askes for the homogeneous input polynomials, and the homogenization with a additional variable despoils of these good properties of toric ideal. However, we conjecture that the homogenization of the generated polynomial sequence of the toric ideals is still a regular sequence. In fact, we do not want to lose the properties of toric ideal, so we propose another conjecture that: the homogeneous polynomials in F5 algorithm can be replaced by some specialΓ-homogeneous polynomials with some special gradings, so we can effectively compute the Gr(?)bner basis and the d-Gr(?)bner basis(see Definition2.4) which defined by the special gradings of the problem with constraints.Inspired by F5 algorithm, we want to compute the d-Gr(?)bner basis instead of the original Gr(?)bner basis using a new grading defined by the bound u or the linear system A, b. Especially, we have made an attempt to compute the toric ideal ,J2 = (?) in§2.3. Define the gradingΓin k[t, Z, V, W] byΓ(?), withα∈N,b∈Nm, andα= {α1,…,αn},β= {β1,…,βn}∈Nn. Then the generating polynomial of ,J2 arcΓ-homogcneous. Let du =Γ(h) = u1 +…+ un, then it will reduce the computation in computing du-Gr(?)bner basis only to some extent. More general method need to be studied further.
Keywords/Search Tags:linear Diophantine equations, toric ideal, reduced Gr(o|¨)bner basis, Hilbert basis
PDF Full Text Request
Related items