| Author |
Comment/Response |
Dave Gaebler
|
02/21/12 12:08pm
I'm trying to figure out how to maximize a function when the number of inputs is variable (or, equivalently, the input is a vector of unknown length).
An example of the type of problem I have in mind: Maximize the product (1-x_1)(1-x_2)...(1-x_n) given that x_1,...,x_n are positive real numbers which add up to 1. The tricky bit here is that I want to maximize over all values of n. (For the problem I just mentioned I know how to prove analytically that the maximum is 1/e, but the question is how to feed a problem like this into Mathematica!)
URL: , |
|