MathGroup Archive 2004

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

Search the Archive

nonlinear programming with differential-algebraic constraints (2)

  • To: mathgroup at
  • Subject: [mg52084] nonlinear programming with differential-algebraic constraints (2)
  • From: Joerg Schaber <schaber at>
  • Date: Wed, 10 Nov 2004 04:45:25 -0500 (EST)
  • Sender: owner-wri-mathgroup at

I made a little example to illustrate the problem:

I want to fit a model which is stated as a system of differenttial 
equations to some data.

(* curve to be fitted *)


(* the parameter 0.1 is to be found *)
(* the model as a differential equations *)

(* minimizing sum of squares *)
		Table[t,{t, 0, 10, 1}]][[i, 2]]-data[[i,2]])^2,
		{i, Length[data]}], a > 0}, a,
		Method -> {"DifferentialEvolution"},
		StepMonitor :> Print[squares, a],
		WorkingPrecision -> 8]

The main problem seems to be that the differential equation does not get 
evaluated in each step but only once.

So if anybody could make this example work that would be great.



  • Prev by Date: Re: Converting Dates to Mathematica Format
  • Next by Date: Re: Adding text labels and such to 3D plots?
  • Previous by thread: Re: Re: Re: Poles and Complex Factoring
  • Next by thread: Re: nonlinear programming with differential-algebraic constraints (2)