X-Git-Url: https://git.auder.net/?p=morpheus.git;a=blobdiff_plain;f=pkg%2FR%2FoptimParams.R;h=5c80fc2c8cdd3cd1a328f041d8b46687c25bb30f;hp=5a88ed96487205582e784f25cadbad06eb51aa10;hb=38c65767eb0c8c5a7ad6025471f56dbaffc68e6e;hpb=86f257f88727805ee73f69e2b9ad57bea2f40b82 diff --git a/pkg/R/optimParams.R b/pkg/R/optimParams.R index 5a88ed9..5c80fc2 100644 --- a/pkg/R/optimParams.R +++ b/pkg/R/optimParams.R @@ -268,8 +268,7 @@ setRefClass( # (Re)Set W to identity, to allow several run from the same object W <<- diag(d+d^2+d^3) - # TODO: stopping condition? N iterations? Delta <= epsilon ? - loopMax <- 2 + loopMax <- 2 #TODO: loopMax = 3 ? for (loop in 1:loopMax) { op_res = constrOptim( linArgs(θ0), .self$f, .self$grad_f,