MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

constrained minimization of nonlinear fct

  • To: mathgroup at
  • Subject: [mg6563] constrained minimization of nonlinear fct
  • From: John Chung-I Chuang <chuang+ at>
  • Date: Tue, 1 Apr 1997 19:00:59 -0500 (EST)
  • Organization: Doctoral student, Engineering and Public Policy, Carnegie Mellon, Pittsburgh, PA
  • Sender: owner-wri-mathgroup at


I'm trying to maximize a non-linear function f(x),
subject to the constraint that x is between 0 and 
some constant K.

I'm stuck because 'ConstrainedMin' does not work on 
non-linear functions, while FindMinimum does not 
allow me to specify the limits of x.

Any suggestions?

One possibility that I'm thinking of is to define 
the function as follows and then performing an 
unconstrained minimization:

f(x) = { some_non_linear_fct_of_x    if  0<x<K;
       { zero                        otherwise.

But how do I specify the above in Mathematica syntax
and be able to use it in 'FindMinimum'?

Thanks in advance for your help.


John Chung-I Chuang
chuang at
j.chuang at
Department of Engineering & Public Policy
Carnegie Mellon University

  • Prev by Date: Re: Solve and Plot
  • Next by Date: Re: NDSolve problem
  • Previous by thread: Multiple Integrals, Partial Derivatives
  • Next by thread: Convex Polygons with Their Insides Chomped Out