# [R] help with use of the Linear Programming - constrOptim

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Mon May 16 00:27:40 CEST 2016

```You have an overactive imagination... these equations are nonlinear.
--
Sent from my phone. Please excuse my brevity.

On May 14, 2016 3:27:30 PM PDT, "Cleber N.Borges" <klebyn at yahoo.com.br> wrote:
>Dears,
>I imagine that the LP method should be the solution to find the
>parameters of one objective function ...
>I known there are the constrOptim command for this.
>
>but I don't know how to elaborate the contour condictions  in matricial
>forms
>that the way like constrOptim works
>
>I show below one function example to be optimized
>
>I appreciate much if somebody can help me
>responding if I really am right imagining LP like ideal tool in my case
>and indicate basic material (introduction) about the subject
>
>below
>
>
>Cleber Borges
>
>#####################
>fobjective <- function( x = 0.1 ){
># Constants
>k1 <- 0.007585776
>k2 <- 6.16595e-08
>k3 <- 2.137962e-13
>k4 <- 1e-14
># Determine all the 6 variables:
># a, b, c, d, e, f
>###################
># 6 Contour Condictions: ( Igualities )
>###################
>k1 == a * d / c            # 1
>k2 == a * e / d            # 2
>k3 == a * f / e            # 3
>k4 == a * b                # 4
>4 * a == b + d + e + f    # 5
>x     == c + d + e + f    # 6
>return( c( a, b, c, d, e, f ) )
>}
>
>
>
>
>
>
>
>
>
>
>
>---
>Este email foi escaneado pelo Avast antivírus.
>https://www.avast.com/antivirus
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help