Skip to content
Prev 169399 / 398506 Next

optimal control, maximization with several variables?

I assume that you are looking to solve, in R, the constrained optimization problem:

H (u1, u2) = a*u1+b*u2+c*f1(u2)+lambda*(x')             
with constraints: 0<u1<x, 0<u2<f2(x,u2)

where a, b, x, and x' are known.
 
Am I right?

If so, you can use the package Rdonlp2.  

I have written an extension of ConstrOptim that can handle nonlinear inequality constraints. This is another option.

Best,
Ravi.

____________________________________________________________________

Ravi Varadhan, Ph.D.
Assistant Professor,
Division of Geriatric Medicine and Gerontology
School of Medicine
Johns Hopkins University

Ph. (410) 502-2619
email: rvaradhan at jhmi.edu


----- Original Message -----
From: Frederik Noack <frederik.noack at gmx.de>
Date: Thursday, February 5, 2009 8:47 am
Subject: [R] optimal control, maximization with several variables?
To: R-help at r-project.org