commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <>
Subject Re: [MATH] Linear Inequality Constraints in Optimizer
Date Wed, 07 Oct 2015 10:07:29 GMT

On Tue, 6 Oct 2015 12:49:04 -0700 (PDT), Rebecca2w2 wrote:
> Is it possible to use linear inequality constraints (ie Ax < b) with 
> the
> multivariable non-linear optimizer?

It is not directly supported, but it should be possible to use
the "ParameterValidator" (an argument to the "create" factory
method, defined in class "LeastSquaresFactory") for that purpose.
The "ParameterValidator" receives as input the parameter values
provided by the optimizer and can change them.

If you implement such a validator for the above use-case, I think
that it would be a nice addition to Commons Math.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message