Re: [R] lsqlin in pracma

2015-08-29 Thread Berend Hasselman
> On 29 Aug 2015, at 20:53, Berend Hasselman wrote: > > >> On 29 Aug 2015, at 18:29, Ravi Varadhan wrote: >> >> In solve.QP(), you don't need to expand the equality into two inequalities. >> It can DIRECTLY handle the equality constraints. The first `meq' rows of >> the constraint matrix

Re: [R] lsqlin in pracma

2015-08-29 Thread Berend Hasselman
> On 29 Aug 2015, at 18:29, Ravi Varadhan wrote: > > In solve.QP(), you don't need to expand the equality into two inequalities. > It can DIRECTLY handle the equality constraints. The first `meq' rows of the > constraint matrix are equality constraints. Here is the excerpt from the > docum

[R] lsqlin in pracma

2015-08-29 Thread Ravi Varadhan
In solve.QP(), you don't need to expand the equality into two inequalities. It can DIRECTLY handle the equality constraints. The first `meq' rows of the constraint matrix are equality constraints. Here is the excerpt from the documentation. meq the first meq constraints are treated as equali