Home
last modified time | relevance | path

Searched refs:tnlp (Results 1 – 25 of 101) sorted by relevance

12345

/dports/math/bonmin/Bonmin-releases-1.8.8/Bonmin/src/Interfaces/Ipopt/
H A DBonIpoptSolver.cpp145 if (!zeroDimension(tnlp, ret_status)) { in OptimizeTNLP()
190 if (!zeroDimension(tnlp, ret_status)) { in ReOptimizeTNLP()
341 if(tnlp->x_init() == NULL || tnlp->duals_init() == NULL) in getUsedWarmStart()
343 return new IpoptWarmStart(tnlp->num_variables(), in getUsedWarmStart()
346 tnlp->x_init(), tnlp->duals_init()); in getUsedWarmStart()
357 else return new IpoptWarmStart(tnlp, NULL); in getWarmStart()
363 Ipopt::SmartPtr<TMINLP2TNLP> tnlp) in setWarmStart() argument
381 int numcols = tnlp->num_variables(); in setWarmStart()
382 int numrows = tnlp->num_constraints(); in setWarmStart()
387 tnlp->setxInit(ws->primalSize(), ws->primal()); in setWarmStart()
[all …]
H A DBonIpoptWarmStart.cpp32 IpoptWarmStart::IpoptWarmStart(const Ipopt::SmartPtr<TMINLP2TNLP> tnlp, in IpoptWarmStart() argument
34 CoinWarmStartPrimalDual(tnlp->num_variables(), in IpoptWarmStart()
35 2*tnlp->num_variables()+tnlp->num_constraints(), in IpoptWarmStart()
36 tnlp->x_sol(), tnlp->duals_sol() ), in IpoptWarmStart()
41 int numcols = tnlp->num_variables(); in IpoptWarmStart()
42 int numrows = tnlp->num_constraints(); in IpoptWarmStart()
H A DBonIpoptSolver.hpp82 virtual TNLPSolver::ReturnStatus OptimizeTNLP(const Ipopt::SmartPtr<Ipopt::TNLP> & tnlp);
85 virtual TNLPSolver::ReturnStatus ReOptimizeTNLP(const Ipopt::SmartPtr<Ipopt::TNLP> & tnlp);
89 Ipopt::SmartPtr<TMINLP2TNLP> tnlp);
92 virtual CoinWarmStart * getUsedWarmStart(Ipopt::SmartPtr<TMINLP2TNLP> tnlp) const;
96 virtual CoinWarmStart * getWarmStart(Ipopt::SmartPtr<Bonmin::TMINLP2TNLP> tnlp) const;
H A DBonIpoptWarmStart.hpp54 IpoptWarmStart(const Ipopt::SmartPtr<TMINLP2TNLP> tnlp,
/dports/math/ipopt/Ipopt-3.12.13/Ipopt/examples/ScalableProblems/
H A Dsolve_problem.cpp178 SmartPtr<RegisteredTNLP> tnlp; in main() local
183 tnlp = RegisteredTNLPs::GetTNLP(argc[1]); in main()
184 if (!IsValid(tnlp)) { in main()
202 tnlp = RegisteredTNLPs::GetTNLP(inputword.c_str()); in main()
203 if (!IsValid(tnlp)) { in main()
220 bool retval = tnlp->InitializeProblem(N); in main()
240 status = app->OptimizeTNLP(GetRawPtr(tnlp)); in main()
H A DRegisteredTNLP.hpp32 RegisteredTNLPs(const SmartPtr<RegisteredTNLP>& tnlp, const std::string name) in RegisteredTNLPs() argument
34 RegisterTNLP(tnlp, name); in RegisteredTNLPs()
41 void RegisterTNLP(const SmartPtr<RegisteredTNLP>& tnlp,
H A DRegisteredTNLP.cpp20 RegisteredTNLPs::RegisterTNLP(const SmartPtr<RegisteredTNLP>& tnlp, in RegisterTNLP() argument
23 RegisteredTNLPListMap()[name] = GetRawPtr(tnlp); in RegisterTNLP()
/dports/math/bonmin/Bonmin-releases-1.8.8/Bonmin/src/Interfaces/
H A DBonTNLPSolver.hpp127 virtual ReturnStatus OptimizeTNLP(const Ipopt::SmartPtr<Ipopt::TNLP> & tnlp) = 0;
130 virtual ReturnStatus ReOptimizeTNLP(const Ipopt::SmartPtr<Ipopt::TNLP> & tnlp) = 0;
134 Ipopt::SmartPtr<TMINLP2TNLP> tnlp) = 0;
137 virtual CoinWarmStart * getUsedWarmStart(Ipopt::SmartPtr<TMINLP2TNLP> tnlp) const = 0;
140 virtual CoinWarmStart * getWarmStart(Ipopt::SmartPtr<TMINLP2TNLP> tnlp) const = 0;
209 bool zeroDimension(const Ipopt::SmartPtr<Ipopt::TNLP> &tnlp,
H A DBonTNLPSolver.cpp78 …TNLPSolver::zeroDimension(const Ipopt::SmartPtr<Ipopt::TNLP>& tnlp, ReturnStatus &optimizationStat… in zeroDimension() argument
83 tnlp->get_nlp_info(n,m,dum1, dum2, dum3); in zeroDimension()
90 tnlp->get_bounds_info(n, x_l, x_u, m, g_l , g_u); in zeroDimension()
110 tnlp->eval_f(n, x_l, true, obj_value); in zeroDimension()
122 tnlp->eval_g(n, x_sol, true, m, g_sol); in zeroDimension()
135 tnlp->finalize_solution(Ipopt::LOCAL_INFEASIBILITY, in zeroDimension()
153 tnlp->finalize_solution(Ipopt::SUCCESS, in zeroDimension()
H A DBonTNLP2FPNLP.hpp28 TNLP2FPNLP(const Ipopt::SmartPtr<Ipopt::TNLP> tnlp, double objectiveScalingFactor = 100);
31 TNLP2FPNLP(const Ipopt::SmartPtr<TNLP> tnlp, const Ipopt::SmartPtr<TNLP2FPNLP> other);
36 void use(Ipopt::SmartPtr<TNLP> tnlp){ in use() argument
37 tnlp_ = GetRawPtr(tnlp);} in use()
H A DBonTNLP2FPNLP.cpp17 TNLP2FPNLP::TNLP2FPNLP(const SmartPtr<TNLP> tnlp, double objectiveScalingFactor): in TNLP2FPNLP() argument
18 tnlp_(tnlp), in TNLP2FPNLP()
33 TNLP2FPNLP::TNLP2FPNLP(const SmartPtr<TNLP> tnlp, const SmartPtr<TNLP2FPNLP> other): in TNLP2FPNLP() argument
34 tnlp_(tnlp), in TNLP2FPNLP()
/dports/math/bonmin/Bonmin-releases-1.8.8/Bonmin/src/Interfaces/Filter/
H A DBonFilterSolver.hpp92 virtual ReturnStatus OptimizeTNLP(const Ipopt::SmartPtr<Ipopt::TNLP> & tnlp);
95 virtual ReturnStatus ReOptimizeTNLP(const Ipopt::SmartPtr<Ipopt::TNLP> & tnlp);
99 Ipopt::SmartPtr<TMINLP2TNLP> tnlp);
102 virtual CoinWarmStart * getUsedWarmStart(Ipopt::SmartPtr<TMINLP2TNLP> tnlp) const{ in getUsedWarmStart()
110 virtual CoinWarmStart * getWarmStart(Ipopt::SmartPtr<TMINLP2TNLP> tnlp) const;
261 cachedInfo(const Ipopt::SmartPtr<Ipopt::TNLP> &tnlp, in cachedInfo()
298 initialize(tnlp, options); in cachedInfo()
302 void initialize(const Ipopt::SmartPtr<Ipopt::TNLP> &tnlp,
H A DBonFilterSolver.cpp367 cached_ = new cachedInfo(tnlp, options_); in OptimizeTNLP()
377 assert(tnlp == cached_->tnlp_); in ReOptimizeTNLP()
383 tnlp->get_bounds_info(n, cached_->bounds, &cached_->bounds[n+m], in ReOptimizeTNLP()
386 tnlpSolved = static_cast<Ipopt::TNLP *>(Ipopt::GetRawPtr(tnlp)); in ReOptimizeTNLP()
411 tnlp->get_nlp_info( nv, nc, in initialize()
524 tnlpSolved = static_cast<Ipopt::TNLP *>(Ipopt::GetRawPtr(tnlp)); in initialize()
559 tnlp->get_constraints_linearity(m, const_types); in initialize()
569 tnlp_ = Ipopt::GetRawPtr(tnlp); in initialize()
739 Ipopt::SmartPtr<TMINLP2TNLP> tnlp) in setWarmStart() argument
742 cached_ = new cachedInfo(GetRawPtr(tnlp), options_); in setWarmStart()
[all …]
H A DBonBqpdSolver.hpp82 virtual ReturnStatus OptimizeTNLP(const Ipopt::SmartPtr<Ipopt::TNLP> & tnlp);
85 virtual ReturnStatus ReOptimizeTNLP(const Ipopt::SmartPtr<Ipopt::TNLP> & tnlp);
89 Ipopt::SmartPtr<TMINLP2TNLP> tnlp);
97 virtual CoinWarmStart * getUsedWarmStart(Ipopt::SmartPtr<TMINLP2TNLP> tnlp) const{ in getUsedWarmStart()
102 virtual CoinWarmStart * getWarmStart(Ipopt::SmartPtr<TMINLP2TNLP> tnlp) const;
H A DBonBqpdSolver.cpp209 BqpdSolver::OptimizeTNLP(const Ipopt::SmartPtr<Ipopt::TNLP>& tnlp) in OptimizeTNLP() argument
211 BranchingTQP* tqp = dynamic_cast<BranchingTQP*>(GetRawPtr(tnlp)); in OptimizeTNLP()
233 BqpdSolver::ReOptimizeTNLP(const Ipopt::SmartPtr<Ipopt::TNLP> & tnlp) in ReOptimizeTNLP() argument
236 BranchingTQP* tqp = dynamic_cast<BranchingTQP*>(GetRawPtr(tnlp)); in ReOptimizeTNLP()
241 tnlp->get_bounds_info(n, cached_->bl, cached_->bu, in ReOptimizeTNLP()
901 Ipopt::SmartPtr<TMINLP2TNLP> tnlp) in setWarmStart() argument
905 cached_ = new cachedInfo(GetRawPtr(tnlp), options_); in setWarmStart()
928 BqpdSolver::getWarmStart(Ipopt::SmartPtr<TMINLP2TNLP> tnlp) const in getWarmStart()
/dports/science/simbody/simbody-Simbody-3.7/SimTKmath/Optimizers/src/IpOpt/
H A DIpIpoptApplication.hpp53 ApplicationReturnStatus OptimizeTNLP(const SmartPtr<TNLP>& tnlp);
63 ApplicationReturnStatus ReOptimizeTNLP(const SmartPtr<TNLP>& tnlp);
H A DIpStdCInterface.cpp183 SmartPtr<TNLP> tnlp; in IpoptSolve() local
187 tnlp = new StdInterfaceTNLP(ipopt_problem->n, ipopt_problem->x_L, in IpoptSolve()
208 status = ipopt_problem->app->OptimizeTNLP(tnlp); in IpoptSolve()
H A DIpIpoptApplication.cpp436 IpoptApplication::OptimizeTNLP(const SmartPtr<TNLP>& tnlp) in OptimizeTNLP() argument
438 nlp_adapter_ = new TNLPAdapter(GetRawPtr(tnlp), ConstPtr(jnlst_)); in OptimizeTNLP()
444 IpoptApplication::ReOptimizeTNLP(const SmartPtr<TNLP>& tnlp) in ReOptimizeTNLP() argument
451 ASSERT_EXCEPTION(adapter->tnlp()==tnlp, INVALID_WARMSTART, in ReOptimizeTNLP()
H A DIpTNLPAdapter.hpp34 TNLPAdapter(const SmartPtr<TNLP> tnlp,
174 SmartPtr<TNLP> tnlp() const in tnlp() function in SimTKIpopt::TNLPAdapter
/dports/math/ipopt/Ipopt-3.12.13/Ipopt/src/Interfaces/
H A DIpIpoptApplication.hpp117 virtual ApplicationReturnStatus OptimizeTNLP(const SmartPtr<TNLP>& tnlp);
130 virtual ApplicationReturnStatus ReOptimizeTNLP(const SmartPtr<TNLP>& tnlp);
H A DIpStdCInterface.cpp251 SmartPtr<TNLP> tnlp; in IpoptSolve() local
255 tnlp = new StdInterfaceTNLP(ipopt_problem->n, ipopt_problem->x_L, in IpoptSolve()
272 status = ipopt_problem->app->OptimizeTNLP(tnlp); in IpoptSolve()
H A DIpTNLPAdapter.hpp36 TNLPAdapter(const SmartPtr<TNLP> tnlp,
192 SmartPtr<TNLP> tnlp() const in tnlp() function in Ipopt::TNLPAdapter
/dports/math/gravity/Gravity-da941e9/thirdparty/Ipopt/include/coin-or/
H A DIpIpoptApplication.hpp152 const SmartPtr<TNLP>& tnlp
174 const SmartPtr<TNLP>& tnlp
H A DIpTNLPAdapter.hpp36 const SmartPtr<TNLP> tnlp,
238 SmartPtr<TNLP> tnlp() const in tnlp() function in Ipopt::TNLPAdapter
/dports/math/gismo/gismo-21.12.0/extensions/gsIpopt/
H A DgsOptProblem.hpp30 Ipopt::SmartPtr<Ipopt::TNLP> tnlp; member in gismo::gsOptProblemPrivate
253 m_data->tnlp = new gsIpOptTNLP<T>(*this); in gsOptProblem()
311 status = app->OptimizeTNLP(m_data->tnlp); in solve()

12345