Searched refs:jac_penalty_ (Results 1 – 2 of 2) sorted by relevance
79 jac_penalty_ = 2; in FunctionInternal()346 opts["jac_penalty"] = jac_penalty_; in generate_options()392 jac_penalty_ = op.second; in init()2594 if (jac_penalty_==-1) return false; in fwdViaJac()2597 if (jac_penalty_*static_cast<double>(nnz_in())<nfwd) return true; in fwdViaJac()2602 jac_penalty_*(1-w)*static_cast<double>(nnz_out())<w*static_cast<double>(nfwd)) in fwdViaJac()2610 if (jac_penalty_==-1) return false; in adjViaJac()2613 if (jac_penalty_*static_cast<double>(nnz_out())<nadj) return true; in adjViaJac()2618 jac_penalty_*w*static_cast<double>(nnz_in())<(1-w)*static_cast<double>(nadj)) in adjViaJac()3571 s.pack("FunctionInternal::jac_penalty", jac_penalty_); in serialize_body()[all …]
930 double jac_penalty_; member in casadi::FunctionInternal