LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::lqn::NlpProgram Class Reference

The program of one layered model. More...

#include <line/api/lqn/lqn_export_nlp.h>

Collaboration diagram for line::lqn::NlpProgram:

Classes

struct  Bil
struct  Nlt
struct  Mnl
struct  Sweep

Public Types

enum  Block {
  XE = 0 , XA , XC , W ,
  S , R , Q , QT ,
  BC , BR , GH , GT ,
  SA , NBLOCKS
}

Public Member Functions

 NlpProgram ()
 NlpProgram (const NlpProgram &o)
NlpProgram & operator= (const NlpProgram &o)
std::size_t col (Block b, std::size_t i) const
std::size_t sent (std::size_t e) const
std::vector< double > block (const std::vector< double > &x, Block b) const
 The block's slice of an iterate.
std::vector< std::string > var_names () const
std::vector< std::pair< std::size_t, double > > qbar_host_terms (std::size_t h, std::size_t a, double g) const
std::vector< std::pair< std::size_t, double > > qbar_task_terms (std::size_t t, std::size_t c, double g) const
double qd_pop_host (const std::vector< double > &Qv, std::size_t h) const
double qd_pop_task (const std::vector< double > &Qtv, std::size_t t) const
double qbar_host (const std::vector< double > &Qv, std::size_t h, std::size_t a) const
double qbar_task (const std::vector< double > &Qtv, std::size_t t, std::size_t c) const
std::vector< double > residuals (const std::vector< double > &x) const
Matrix< double > jacobian (const std::vector< double > &x) const
double objective (const std::vector< double > &x) const
std::vector< double > aeq_resid (const std::vector< double > &x) const
std::vector< double > aub_resid (const std::vector< double > &x) const
double compose (const std::vector< std::size_t > &as, const std::vector< double > &Wv, const std::vector< double > &Rv) const
Sweep sweep (const std::vector< double > &Qv, const std::vector< double > &Qtv) const
 One pass of the relations at the given queue lengths: python _sweep.
std::vector< double > initial_point (int warm=0) const
 A point satisfying every linear relation, after WARM fixed-point sweeps.
std::vector< double > polish (std::vector< double > x, int iters=50) const
 Newton on the square system [residuals; AEQ x - BEQ], min-norm step: python polish.
bool solved (const std::vector< double > &x) const
 A root of the square system, feasible to the bounds and the inequalities.
double merit (const std::vector< double > &x) const
 The merit the fallback descends: ||r||^2 + ||AEQ x - BEQ||^2 + ||max(0, AUB x - BUB)||^2.
std::vector< double > lm_fallback (std::vector< double > x, int maxiter, int *iters=nullptr, std::vector< double > *merits=nullptr) const
 The projected Levenberg-Marquardt fallback, shared by MATLAB, the JAR and C++ in place of python's trust-constr.
NlpSolveResult solve (int warm=0, int maxiter=3000) const
 Root the program: the Newton ladder over warm starts max(0,warm), 5, 20, 100, then the fallback from the ladder start of smallest objective.

Static Public Member Functions

static double dot (const std::vector< double > &a, const std::vector< double > &x)
static double maxabs (const std::vector< double > &v)
static double minval (const std::vector< double > &v)
static double maxval (const std::vector< double > &v)

Public Attributes

std::string name
std::vector< std::string > hosts
std::vector< std::string > tasks
std::vector< std::string > entries
std::vector< std::string > acts
std::vector< std::string > calls
std::vector< double > host_mult
std::vector< double > host_maxmult
std::vector< bool > host_inf
std::vector< std::size_t > task_host
std::vector< double > task_mult
std::vector< double > task_think
std::vector< bool > task_inf
std::vector< bool > task_isref
std::vector< std::size_t > entry_task
std::vector< std::size_t > entry_order
std::vector< std::size_t > act_task
std::vector< std::size_t > act_entry
std::vector< double > act_demand
std::vector< double > act_visits
std::vector< std::size_t > call_act
std::vector< std::size_t > call_entry
std::vector< std::size_t > call_caller_task
std::vector< double > call_mean
std::vector< std::size_t > fork_entry
std::vector< std::vector< std::vector< std::size_t > > > fork_branches
std::vector< std::string > fork_label
double alpha = 20.0
std::vector< std::string > host_lld
std::vector< std::string > task_lld
std::vector< bool > host_rate_capped
std::vector< NlpRate > host_rate
std::vector< NlpRate > task_rate
std::size_t NH = 0
std::size_t NT = 0
std::size_t NE = 0
std::size_t NA = 0
std::size_t NC = 0
std::size_t NFORK = 0
std::size_t NR = 0
std::size_t NGH = 0
std::size_t NGT = 0
std::vector< std::vector< std::size_t > > acts_of_host
std::vector< std::vector< std::size_t > > acts_of_entry
std::vector< std::vector< std::size_t > > calls_of_act
std::vector< std::vector< std::size_t > > calls_into_entry
std::vector< std::vector< std::size_t > > calls_into_task
std::vector< std::vector< std::size_t > > entries_of_task
std::vector< std::vector< std::size_t > > blocks_of_entry
std::vector< std::vector< std::size_t > > seq_acts_of_entry
std::vector< std::vector< std::size_t > > sibling_acts
std::vector< std::vector< std::size_t > > sibling_calls
std::set< std::size_t > fork_acts
std::vector< std::size_t > ref_tasks
std::vector< std::size_t > ref_entry
std::vector< std::size_t > qd_hosts
std::vector< std::size_t > qd_tasks
std::map< std::size_t, std::size_t > gh_of
std::map< std::size_t, std::size_t > gt_of
std::vector< bool > task_delay
std::vector< bool > host_delay
std::vector< double > task_pop
std::vector< double > host_ntot
std::vector< double > task_ntot
std::vector< double > host_delta
std::vector< double > task_delta
std::size_t offset [NBLOCKS] = {0}
std::size_t blocksize [NBLOCKS] = {0}
std::size_t NVAR = 0
std::size_t NRES = 0
Matrix< double > AEQ
Matrix< double > AUB
std::vector< double > BEQ
std::vector< double > BUB
Matrix< double > res_lin
std::vector< double > res_const
std::vector< Bil > bil
std::vector< Nlt > nlt
std::vector< Mnl > mnl

Detailed Description

The program of one layered model.

Every member is named after the python script's global of the same meaning (lower case); indices are 0-based in declaration order, so element i of a block is the LQN's absolute index shift + i + 1.

Definition at line 689 of file lqn_export_nlp.h.

Member Enumeration Documentation

◆ Block

Enumerator
XE 
XA 
XC 
W 
S 
R 
Q 
QT 
BC 
BR 
GH 
GT 
SA 
NBLOCKS 

Definition at line 691 of file lqn_export_nlp.h.

Constructor & Destructor Documentation

◆ NlpProgram() [1/2]

line::lqn::NlpProgram::NlpProgram ( )
inline

Definition at line 744 of file lqn_export_nlp.h.

Referenced by NlpProgram(), and operator=().

◆ NlpProgram() [2/2]

line::lqn::NlpProgram::NlpProgram ( const NlpProgram & o)
inline

Definition at line 745 of file lqn_export_nlp.h.

References NlpProgram().

Member Function Documentation

◆ aeq_resid()

std::vector< double > line::lqn::NlpProgram::aeq_resid ( const std::vector< double > & x) const
inline

Definition at line 867 of file lqn_export_nlp.h.

References AEQ, and BEQ.

Referenced by lm_fallback(), merit(), polish(), and solved().

◆ aub_resid()

std::vector< double > line::lqn::NlpProgram::aub_resid ( const std::vector< double > & x) const
inline

Definition at line 868 of file lqn_export_nlp.h.

References AUB, and BUB.

Referenced by lm_fallback(), merit(), polish(), and solved().

◆ block()

std::vector< double > line::lqn::NlpProgram::block ( const std::vector< double > & x,
Block b ) const
inline

The block's slice of an iterate.

Definition at line 758 of file lqn_export_nlp.h.

References blocksize, and offset.

Referenced by initial_point().

◆ col()

std::size_t line::lqn::NlpProgram::col ( Block b,
std::size_t i ) const
inline

Definition at line 754 of file lqn_export_nlp.h.

References offset.

Referenced by initial_point(), line::lqn::lqn_nlp_program(), qbar_host_terms(), qbar_task_terms(), and sent().

◆ compose()

double line::lqn::NlpProgram::compose ( const std::vector< std::size_t > & as,
const std::vector< double > & Wv,
const std::vector< double > & Rv ) const
inline

Definition at line 871 of file lqn_export_nlp.h.

References act_visits, call_mean, and calls_of_act.

Referenced by sweep().

◆ dot()

double line::lqn::NlpProgram::dot ( const std::vector< double > & a,
const std::vector< double > & x )
inlinestatic

Definition at line 1128 of file lqn_export_nlp.h.

Referenced by jacobian(), and residuals().

◆ initial_point()

std::vector< double > line::lqn::NlpProgram::initial_point ( int warm = 0) const
inline

◆ jacobian()

Matrix< double > line::lqn::NlpProgram::jacobian ( const std::vector< double > & x) const
inline

Definition at line 839 of file lqn_export_nlp.h.

References bil, dot(), line::lqn::fj_max_exp_grad(), mnl, nlt, NVAR, and res_lin.

Referenced by lm_fallback(), and polish().

◆ lm_fallback()

std::vector< double > line::lqn::NlpProgram::lm_fallback ( std::vector< double > x,
int maxiter,
int * iters = nullptr,
std::vector< double > * merits = nullptr ) const
inline

The projected Levenberg-Marquardt fallback, shared by MATLAB, the JAR and C++ in place of python's trust-constr.

merits, when given, receives the merit after each ACCEPTED step, which is how a test sees it descend.

Definition at line 1027 of file lqn_export_nlp.h.

References AEQ, aeq_resid(), AUB, aub_resid(), jacobian(), merit(), line::lqn::nlp_detail::norm2(), NRES, NVAR, residuals(), line::Matrix< T >::rows(), and line::solve().

Referenced by solve().

◆ maxabs()

double line::lqn::NlpProgram::maxabs ( const std::vector< double > & v)
inlinestatic

Definition at line 1133 of file lqn_export_nlp.h.

Referenced by polish(), and solved().

◆ maxval()

double line::lqn::NlpProgram::maxval ( const std::vector< double > & v)
inlinestatic

Definition at line 1143 of file lqn_export_nlp.h.

Referenced by polish(), and solved().

◆ merit()

double line::lqn::NlpProgram::merit ( const std::vector< double > & x) const
inline

The merit the fallback descends: ||r||^2 + ||AEQ x - BEQ||^2 + ||max(0, AUB x - BUB)||^2.

Definition at line 1014 of file lqn_export_nlp.h.

References aeq_resid(), aub_resid(), and objective().

Referenced by lm_fallback(), and solve().

◆ minval()

double line::lqn::NlpProgram::minval ( const std::vector< double > & v)
inlinestatic

Definition at line 1138 of file lqn_export_nlp.h.

Referenced by polish(), and solved().

◆ objective()

double line::lqn::NlpProgram::objective ( const std::vector< double > & x) const
inline

Definition at line 860 of file lqn_export_nlp.h.

References residuals().

Referenced by merit(), polish(), and solve().

◆ operator=()

NlpProgram & line::lqn::NlpProgram::operator= ( const NlpProgram & o)
inline

Definition at line 746 of file lqn_export_nlp.h.

References NlpProgram().

◆ polish()

std::vector< double > line::lqn::NlpProgram::polish ( std::vector< double > x,
int iters = 50 ) const
inline

Newton on the square system [residuals; AEQ x - BEQ], min-norm step: python polish.

Definition at line 969 of file lqn_export_nlp.h.

References AEQ, aeq_resid(), AUB, aub_resid(), jacobian(), line::lqn::nlp_detail::lstsq_min_norm(), maxabs(), maxval(), minval(), line::lqn::nlp_detail::norm2(), NRES, NVAR, objective(), residuals(), and line::Matrix< T >::rows().

Referenced by solve().

◆ qbar_host()

double line::lqn::NlpProgram::qbar_host ( const std::vector< double > & Qv,
std::size_t h,
std::size_t a ) const
inline

Definition at line 810 of file lqn_export_nlp.h.

References act_task, acts_of_host, sibling_acts, and task_pop.

Referenced by sweep().

◆ qbar_host_terms()

std::vector< std::pair< std::size_t, double > > line::lqn::NlpProgram::qbar_host_terms ( std::size_t h,
std::size_t a,
double g ) const
inline

Definition at line 784 of file lqn_export_nlp.h.

References act_task, acts_of_host, col(), Q, sibling_acts, and task_pop.

Referenced by line::lqn::lqn_nlp_program().

◆ qbar_task()

double line::lqn::NlpProgram::qbar_task ( const std::vector< double > & Qtv,
std::size_t t,
std::size_t c ) const
inline

Definition at line 817 of file lqn_export_nlp.h.

References call_caller_task, calls_into_task, sibling_calls, and task_pop.

Referenced by sweep().

◆ qbar_task_terms()

std::vector< std::pair< std::size_t, double > > line::lqn::NlpProgram::qbar_task_terms ( std::size_t t,
std::size_t c,
double g ) const
inline

Definition at line 792 of file lqn_export_nlp.h.

References call_caller_task, calls_into_task, col(), QT, sibling_calls, and task_pop.

Referenced by line::lqn::lqn_nlp_program().

◆ qd_pop_host()

double line::lqn::NlpProgram::qd_pop_host ( const std::vector< double > & Qv,
std::size_t h ) const
inline

Definition at line 800 of file lqn_export_nlp.h.

References acts_of_host, and host_delta.

Referenced by initial_point(), and sweep().

◆ qd_pop_task()

double line::lqn::NlpProgram::qd_pop_task ( const std::vector< double > & Qtv,
std::size_t t ) const
inline

Definition at line 805 of file lqn_export_nlp.h.

References calls_into_task, and task_delta.

Referenced by initial_point(), and sweep().

◆ residuals()

std::vector< double > line::lqn::NlpProgram::residuals ( const std::vector< double > & x) const
inline

Definition at line 826 of file lqn_export_nlp.h.

References bil, dot(), line::lqn::fj_max_exp(), mnl, nlt, NRES, NVAR, res_const, and res_lin.

Referenced by lm_fallback(), objective(), polish(), and solved().

◆ sent()

std::size_t line::lqn::NlpProgram::sent ( std::size_t e) const
inline

Definition at line 755 of file lqn_export_nlp.h.

References col(), NFORK, S, and SA.

Referenced by line::lqn::lqn_nlp_program().

◆ solve()

NlpSolveResult line::lqn::NlpProgram::solve ( int warm = 0,
int maxiter = 3000 ) const
inline

Root the program: the Newton ladder over warm starts max(0,warm), 5, 20, 100, then the fallback from the ladder start of smallest objective.

Definition at line 1096 of file lqn_export_nlp.h.

References line::lqn::nlp_detail::fmt(), initial_point(), lm_fallback(), merit(), line::lqn::NlpSolveResult::message, line::lqn::NlpSolveResult::newton, line::lqn::NlpSolveResult::niter, objective(), polish(), solved(), and line::lqn::NlpSolveResult::x.

◆ solved()

bool line::lqn::NlpProgram::solved ( const std::vector< double > & x) const
inline

A root of the square system, feasible to the bounds and the inequalities.

Definition at line 1002 of file lqn_export_nlp.h.

References AEQ, aeq_resid(), AUB, aub_resid(), maxabs(), maxval(), minval(), NRES, residuals(), and line::Matrix< T >::rows().

Referenced by solve().

◆ sweep()

◆ var_names()

std::vector< std::string > line::lqn::NlpProgram::var_names ( ) const
inline

Definition at line 762 of file lqn_export_nlp.h.

References acts, BC, blocksize, BR, calls, entries, GH, GT, hosts, NBLOCKS, Q, qd_hosts, qd_tasks, QT, R, ref_tasks, S, SA, tasks, W, XA, XC, and XE.

Member Data Documentation

◆ act_demand

std::vector<double> line::lqn::NlpProgram::act_demand

Definition at line 703 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ act_entry

std::vector<std::size_t> line::lqn::NlpProgram::act_entry

Definition at line 702 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ act_task

std::vector<std::size_t> line::lqn::NlpProgram::act_task

Definition at line 702 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), qbar_host(), and qbar_host_terms().

◆ act_visits

std::vector<double> line::lqn::NlpProgram::act_visits

Definition at line 703 of file lqn_export_nlp.h.

Referenced by compose(), line::lqn::lqn_nlp_program(), and sweep().

◆ acts

std::vector<std::string> line::lqn::NlpProgram::acts

Definition at line 695 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and var_names().

◆ acts_of_entry

std::vector<std::vector<std::size_t> > line::lqn::NlpProgram::acts_of_entry

Definition at line 716 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ acts_of_host

std::vector<std::vector<std::size_t> > line::lqn::NlpProgram::acts_of_host

◆ AEQ

Matrix<double> line::lqn::NlpProgram::AEQ

Definition at line 731 of file lqn_export_nlp.h.

Referenced by aeq_resid(), lm_fallback(), line::lqn::lqn_nlp_program(), polish(), and solved().

◆ alpha

double line::lqn::NlpProgram::alpha = 20.0

Definition at line 709 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ AUB

Matrix<double> line::lqn::NlpProgram::AUB

Definition at line 731 of file lqn_export_nlp.h.

Referenced by aub_resid(), lm_fallback(), line::lqn::lqn_nlp_program(), polish(), and solved().

◆ BEQ

std::vector<double> line::lqn::NlpProgram::BEQ

Definition at line 732 of file lqn_export_nlp.h.

Referenced by aeq_resid(), and line::lqn::lqn_nlp_program().

◆ bil

std::vector<Bil> line::lqn::NlpProgram::bil

Definition at line 740 of file lqn_export_nlp.h.

Referenced by jacobian(), line::lqn::lqn_nlp_program(), and residuals().

◆ blocks_of_entry

std::vector<std::vector<std::size_t> > line::lqn::NlpProgram::blocks_of_entry

Definition at line 717 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ blocksize

std::size_t line::lqn::NlpProgram::blocksize[NBLOCKS] = {0}

Definition at line 727 of file lqn_export_nlp.h.

Referenced by block(), line::lqn::lqn_nlp_program(), and var_names().

◆ BUB

std::vector<double> line::lqn::NlpProgram::BUB

Definition at line 732 of file lqn_export_nlp.h.

Referenced by aub_resid(), and line::lqn::lqn_nlp_program().

◆ call_act

std::vector<std::size_t> line::lqn::NlpProgram::call_act

Definition at line 704 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ call_caller_task

std::vector<std::size_t> line::lqn::NlpProgram::call_caller_task

Definition at line 704 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), qbar_task(), and qbar_task_terms().

◆ call_entry

std::vector<std::size_t> line::lqn::NlpProgram::call_entry

Definition at line 704 of file lqn_export_nlp.h.

Referenced by initial_point(), and line::lqn::lqn_nlp_program().

◆ call_mean

std::vector<double> line::lqn::NlpProgram::call_mean

Definition at line 705 of file lqn_export_nlp.h.

Referenced by compose(), line::lqn::lqn_nlp_program(), and sweep().

◆ calls

std::vector<std::string> line::lqn::NlpProgram::calls

Definition at line 695 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and var_names().

◆ calls_into_entry

std::vector<std::vector<std::size_t> > line::lqn::NlpProgram::calls_into_entry

Definition at line 717 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ calls_into_task

std::vector<std::vector<std::size_t> > line::lqn::NlpProgram::calls_into_task

◆ calls_of_act

std::vector<std::vector<std::size_t> > line::lqn::NlpProgram::calls_of_act

Definition at line 716 of file lqn_export_nlp.h.

Referenced by compose(), line::lqn::lqn_nlp_program(), and sweep().

◆ entries

std::vector<std::string> line::lqn::NlpProgram::entries

Definition at line 695 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and var_names().

◆ entries_of_task

std::vector<std::vector<std::size_t> > line::lqn::NlpProgram::entries_of_task

Definition at line 717 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ entry_order

std::vector<std::size_t> line::lqn::NlpProgram::entry_order

Definition at line 701 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ entry_task

std::vector<std::size_t> line::lqn::NlpProgram::entry_task

Definition at line 701 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ fork_acts

std::set<std::size_t> line::lqn::NlpProgram::fork_acts

Definition at line 719 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ fork_branches

std::vector<std::vector<std::vector<std::size_t> > > line::lqn::NlpProgram::fork_branches

Definition at line 707 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ fork_entry

std::vector<std::size_t> line::lqn::NlpProgram::fork_entry

Definition at line 706 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ fork_label

std::vector<std::string> line::lqn::NlpProgram::fork_label

Definition at line 708 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ gh_of

std::map<std::size_t, std::size_t> line::lqn::NlpProgram::gh_of

Definition at line 721 of file lqn_export_nlp.h.

Referenced by initial_point(), and line::lqn::lqn_nlp_program().

◆ gt_of

std::map<std::size_t, std::size_t> line::lqn::NlpProgram::gt_of

Definition at line 721 of file lqn_export_nlp.h.

Referenced by initial_point(), and line::lqn::lqn_nlp_program().

◆ host_delay

std::vector<bool> line::lqn::NlpProgram::host_delay

Definition at line 722 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ host_delta

std::vector<double> line::lqn::NlpProgram::host_delta

Definition at line 723 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and qd_pop_host().

◆ host_inf

std::vector<bool> line::lqn::NlpProgram::host_inf

Definition at line 697 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ host_lld

std::vector<std::string> line::lqn::NlpProgram::host_lld

Definition at line 710 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ host_maxmult

std::vector<double> line::lqn::NlpProgram::host_maxmult

Definition at line 696 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ host_mult

std::vector<double> line::lqn::NlpProgram::host_mult

Definition at line 696 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ host_ntot

std::vector<double> line::lqn::NlpProgram::host_ntot

Definition at line 723 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ host_rate

std::vector<NlpRate> line::lqn::NlpProgram::host_rate

Definition at line 712 of file lqn_export_nlp.h.

Referenced by initial_point(), line::lqn::lqn_nlp_program(), and sweep().

◆ host_rate_capped

std::vector<bool> line::lqn::NlpProgram::host_rate_capped

Definition at line 711 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ hosts

std::vector<std::string> line::lqn::NlpProgram::hosts

Definition at line 695 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and var_names().

◆ mnl

std::vector<Mnl> line::lqn::NlpProgram::mnl

Definition at line 742 of file lqn_export_nlp.h.

Referenced by jacobian(), line::lqn::lqn_nlp_program(), and residuals().

◆ NA

std::size_t line::lqn::NlpProgram::NA = 0

Definition at line 715 of file lqn_export_nlp.h.

Referenced by initial_point(), line::lqn::lqn_nlp_program(), and sweep().

◆ name

std::string line::lqn::NlpProgram::name

Definition at line 694 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ NC

std::size_t line::lqn::NlpProgram::NC = 0

Definition at line 715 of file lqn_export_nlp.h.

Referenced by initial_point(), line::lqn::lqn_nlp_program(), and sweep().

◆ NE

std::size_t line::lqn::NlpProgram::NE = 0

Definition at line 715 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ NFORK

std::size_t line::lqn::NlpProgram::NFORK = 0

Definition at line 715 of file lqn_export_nlp.h.

Referenced by initial_point(), line::lqn::lqn_nlp_program(), and sent().

◆ NGH

std::size_t line::lqn::NlpProgram::NGH = 0

Definition at line 715 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ NGT

std::size_t line::lqn::NlpProgram::NGT = 0

Definition at line 715 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ NH

std::size_t line::lqn::NlpProgram::NH = 0

Definition at line 715 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ nlt

std::vector<Nlt> line::lqn::NlpProgram::nlt

Definition at line 741 of file lqn_export_nlp.h.

Referenced by jacobian(), line::lqn::lqn_nlp_program(), and residuals().

◆ NR

std::size_t line::lqn::NlpProgram::NR = 0

Definition at line 715 of file lqn_export_nlp.h.

Referenced by initial_point(), line::lqn::lqn_nlp_program(), and sweep().

◆ NRES

std::size_t line::lqn::NlpProgram::NRES = 0

Definition at line 728 of file lqn_export_nlp.h.

Referenced by lm_fallback(), line::lqn::lqn_nlp_program(), polish(), residuals(), and solved().

◆ NT

std::size_t line::lqn::NlpProgram::NT = 0

Definition at line 715 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ NVAR

std::size_t line::lqn::NlpProgram::NVAR = 0

◆ offset

std::size_t line::lqn::NlpProgram::offset[NBLOCKS] = {0}

Definition at line 726 of file lqn_export_nlp.h.

Referenced by block(), col(), and line::lqn::lqn_nlp_program().

◆ qd_hosts

std::vector<std::size_t> line::lqn::NlpProgram::qd_hosts

Definition at line 720 of file lqn_export_nlp.h.

Referenced by initial_point(), line::lqn::lqn_nlp_program(), and var_names().

◆ qd_tasks

std::vector<std::size_t> line::lqn::NlpProgram::qd_tasks

Definition at line 720 of file lqn_export_nlp.h.

Referenced by initial_point(), line::lqn::lqn_nlp_program(), and var_names().

◆ ref_entry

std::vector<std::size_t> line::lqn::NlpProgram::ref_entry

Definition at line 720 of file lqn_export_nlp.h.

Referenced by initial_point(), line::lqn::lqn_nlp_program(), and sweep().

◆ ref_tasks

std::vector<std::size_t> line::lqn::NlpProgram::ref_tasks

Definition at line 720 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), sweep(), and var_names().

◆ res_const

std::vector<double> line::lqn::NlpProgram::res_const

Definition at line 739 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and residuals().

◆ res_lin

Matrix<double> line::lqn::NlpProgram::res_lin

Definition at line 738 of file lqn_export_nlp.h.

Referenced by jacobian(), line::lqn::lqn_nlp_program(), and residuals().

◆ seq_acts_of_entry

std::vector<std::vector<std::size_t> > line::lqn::NlpProgram::seq_acts_of_entry

Definition at line 717 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ sibling_acts

std::vector<std::vector<std::size_t> > line::lqn::NlpProgram::sibling_acts

Definition at line 718 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), qbar_host(), and qbar_host_terms().

◆ sibling_calls

std::vector<std::vector<std::size_t> > line::lqn::NlpProgram::sibling_calls

Definition at line 718 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), qbar_task(), and qbar_task_terms().

◆ task_delay

std::vector<bool> line::lqn::NlpProgram::task_delay

Definition at line 722 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ task_delta

std::vector<double> line::lqn::NlpProgram::task_delta

Definition at line 723 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and qd_pop_task().

◆ task_host

std::vector<std::size_t> line::lqn::NlpProgram::task_host

Definition at line 698 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ task_inf

std::vector<bool> line::lqn::NlpProgram::task_inf

Definition at line 700 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ task_isref

std::vector<bool> line::lqn::NlpProgram::task_isref

Definition at line 700 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ task_lld

std::vector<std::string> line::lqn::NlpProgram::task_lld

Definition at line 710 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ task_mult

std::vector<double> line::lqn::NlpProgram::task_mult

Definition at line 699 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ task_ntot

std::vector<double> line::lqn::NlpProgram::task_ntot

Definition at line 723 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program().

◆ task_pop

std::vector<double> line::lqn::NlpProgram::task_pop

◆ task_rate

std::vector<NlpRate> line::lqn::NlpProgram::task_rate

Definition at line 712 of file lqn_export_nlp.h.

Referenced by initial_point(), line::lqn::lqn_nlp_program(), and sweep().

◆ task_think

std::vector<double> line::lqn::NlpProgram::task_think

Definition at line 699 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and sweep().

◆ tasks

std::vector<std::string> line::lqn::NlpProgram::tasks

Definition at line 695 of file lqn_export_nlp.h.

Referenced by line::lqn::lqn_nlp_program(), and var_names().


The documentation for this class was generated from the following file: