Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3622
| From | DrMajorBob <btreat1@austin.rr.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Numerical optimization |
| Date | 2011-07-09 11:41 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <iv9eoh$del$1@smc.vnet.net> (permalink) |
| References | <201107080853.EAA28678@smc.vnet.net> |
You haven't told us anything we need to know, in order to diagnose the
problem.
We need to know what form f takes, what the error messages are... at least
the first one... et cetera.
Bobby
On Fri, 08 Jul 2011 03:53:01 -0500, Equilib <petterbe@gmail.com> wrote:
> Hi all,
> I'm new to numerical optimization routines and since I get no results
> I worry that I may have made errors in my setup. I would like to
> maximize function f(p1,p2,s,c2,g) using the variables p1, p2, s. The
> parameters c2 and g are both in the interval (0,1). Hence I want a
> large matrix with solutions to the maximization problem for all
> combinations of c2 and g.
>
> I set it up as follows:
> Do[NMaximize[{f, "Constraints"}, {s, p1, p2}], {c2, 0, 1, 0.1}, {g, 0,
> 1, 0.1}]
>
> but get a page full of different error mesages and no output. Can
> anyone see the programming errors and maybe suggest an alternative
> route?
>
> Thanks a lot,
> Petter
>
--
DrMajorBob@yahoo.com
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Numerical optimization DrMajorBob <btreat1@austin.rr.com> - 2011-07-09 11:41 +0000
csiph-web