Displaying 2 results from an estimated 2 matches for "psale".
Did you mean:
sale
2012 Dec 04
1
Solve system of equations (nleqslv) only returns origin
...for how I can find the maximum non-zero solution instead of
going straight to the minimum?
Thanks!
Alicia
install.packages("nleqslv",
lib="Users/Alicia/Documents/R.Codes/R.Packages/")
require(nleqslv)
###### Global Parameters ############
beeta=0.8
pq=10000
L=12600
theta=0.6
psale=0.6
mu=psale*(1-theta)
alphah=0.15
Cg=6240
Cs=2820
A= 100
D=0.0001
greekp=0.43
K=100000
##### Species Parameters ##########
b1=0.38
p1=16654
v1 = 0.28
N1=6000
g1=1
delta1=1
b2=0.4
p2=2797
v2 = 0.31
N2=10000
g2=1
delta2=1
### Define functions with vector x = c(Lg, Ls, gamma1, gamma2, lamda)
fir...
2013 Jan 03
0
help with NLOPTR
...## Load Packages (mosaic not used here, but was used to get
gradients/derivatives) #################
install.packages("nloptr")
library(nloptr)
install.packages ("mosaic")
library(mosaic)
###### Global Parameters ############
beeta=0.8
pq=10000
pf=10000
F=20
L=12600
theta=0.6
psale=0.6
mu=psale*(1-theta)
alphah=0.15
Cg=6240
Cs=2820
A= 100
D=0.0001
greekp=0.43
K=100000
##### Species Parameters##########
b1=0.38
p1=16654
v1 = 0.28
N1=6000
g1=1
delta1=1
b2=0.4
p2=2797
v2 = 0.31
N2=10000
g2=1
delta2=1
####################################### Objective function
#################...