{"push_id":715473019,"size":1,"distinct_size":1,"ref":"refs/heads/Peggy","head":"37773509e9d20735760fcd1cc6dfcaa7b90398ee","before":"03a1801b4fea7ad9348ef81f0f2e03335855a8ba","commits":[{"sha":"37773509e9d20735760fcd1cc6dfcaa7b90398ee","author":{"email":"5a13ec7c3be8d33ef06e4f3054349a485265810a@ucdavis.edu","name":"Peijun Xiao"},"message":"Revise methods for cutting plane acc. comments (Part 1)\n\n1.  row_coefficients should allow the row to be specified either as \"a\nstring, an actual variable, or an integer interpreted as the index of a\nvariable\", just like LPAbstractDictionary.leave() allows.\n(See the examples in the docstring of enter and leave)\n\n2. Since now I have the more general function row_coefficients, I can\nimplement \"w\" in terms of this function; in fact, this could take place\nin the LPAbstractDictionary (remove leaving_coefficients from\nLPDictionary and LPRevisedDictionary)\n\n3. add_row actually has no output. Reword accordingly\n\n4. In the tests of LPDictionary.add_row, replace the numbers with\ndecimal points by fractions, to avoid creating floating point numbers.\n\n5. some of the matrix construction code can be simplified by forming a\nmatrix rather than a vector for the new row, and then using the \"stack\"\nmethod of matrices\n\n6. See\nhttp://stackoverflow.com/questions/16730339/python-add-item-to-the-tuple\n on how to make tuples longer (make changes in add_row)\n\n7. Instead of using QQ explicitly, it's better to use self.base_ring()\nto find out what is the appropriate field","distinct":true,"url":"https://api.github.com/repos/pgxiao/sage/commits/37773509e9d20735760fcd1cc6dfcaa7b90398ee"}]}