Re: [Numpy-discussion] How can I constrain linear_least_squares to integer solutions?

2007-11-28 Thread Stefan van der Walt
On Tue, Nov 27, 2007 at 11:07:30PM -0700, Charles R Harris wrote: This is not a trivial problem, as you can see by googling mixed integer least squares (MILS). Much will depend on the nature of the parameters, the number of variables you are using in the fit, and how exact the solution needs

Re: [Numpy-discussion] How can I constrain linear_least_squares to integer solutions?

2007-11-28 Thread Timothy Hochberg
On Nov 28, 2007 12:59 AM, Stefan van der Walt [EMAIL PROTECTED] wrote: On Tue, Nov 27, 2007 at 11:07:30PM -0700, Charles R Harris wrote: This is not a trivial problem, as you can see by googling mixed integer least squares (MILS). Much will depend on the nature of the parameters, the

Re: [Numpy-discussion] How can I constrain linear_least_squares to integer solutions?

2007-11-28 Thread Charles R Harris
On Nov 28, 2007 12:59 AM, Stefan van der Walt [EMAIL PROTECTED] wrote: On Tue, Nov 27, 2007 at 11:07:30PM -0700, Charles R Harris wrote: This is not a trivial problem, as you can see by googling mixed integer least squares (MILS). Much will depend on the nature of the parameters, the

[Numpy-discussion] How can I constrain linear_least_squares to integer solutions?

2007-11-27 Thread Mark Schmucker
Hi, I have successfully used LinearAlgebra.linear_least_squares to estimate solutions to continuous functions. The coefficients returned in that case are of course floating-point values. Now I have a problem where some of the terms are continuous but some must be constrained to integer

Re: [Numpy-discussion] How can I constrain linear_least_squares to integer solutions?

2007-11-27 Thread Charles R Harris
On Nov 27, 2007 9:51 PM, Mark Schmucker [EMAIL PROTECTED] wrote: Hi, I have successfully used LinearAlgebra.linear_least_squares to estimate solutions to continuous functions. The coefficients returned in that case are of course floating-point values. Now I have a problem where some