Adding a special boundary condition to an ODE

조회 수: 1 (최근 30일)
Mario Trevino
Mario Trevino 2015년 8월 14일
Hi everyone! Im solving an ODE using fmincon and a cost function. Im able to find the best parameters of the model and Im happy with that. However, I now need to make a slight change to the input model and include a new boundary condition which Im not sure how to implement. Let me explain: * Right now, the differential equation has two independent parameters to optimize, vgr Vprime= (x(1).*SSIM)+(x(2).*V), and both x(1) and x(2) are effectively bounded through values I define in fmincon. So far so good. However, I now need to add a new restriction, namely, for example, that the sum of these two components is bounded between 0 an 1, that is 0<=[(x(1).*SSIM)+(x(2).*V)]<= 1. Does this have an easy solution? Could somebody help me? Intuitively, I think that this restiction may lead to a multiplicity of posible solutions wich could invalidate the approach itself? any thoughts?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by