return the size of a given AMPL problem
info = ampl_get_size(asl)
a structure which handles the pointer to the problem
a list of dimensions related to the AMPL problem
The list of available fields is:
info('nbv') no. of linear binary variables
info('niv') no. of linear integer variables
info('nlc') total no. of nonlinear constraints
info('n_eqn') number of equality constraints or -1 if unknown (ampl prior to 19970627)
info('n_cc') total complementarity conditions
info('nlcc') nonlinear complementarity conditions
info('nlnc') no. of nonlinear network constraints
info('nlo') no. of nonlinear objectives
info('nlvb') no. of nonlinear variables in both constraints and objectives
info('nlvc') no. of nonlinear variables in constraints
info('nlvo') no. of nonlinear variables in objectives 'nlvc' and 'nlvo' include 'nlvb'
info('nlvbi') integer nonlinear variables in both constraints and objectives
info('nlvci') integer nonlinear vars just in constraints
info('nlvoi') integer nonlinear vars just in objectives
info('nwv') no. of (linear) network variables (arcs)
info('nzc') no. of nonzeros in constraints Jacobian
info('nzo') no. of nonzeros in all objective gradients
info('n_var') total no. of variables
info('n_con') total no. of constraints
info('n_obj') total no. of objectives
info('n_lcon') no. of logical constraints
Return the size of a given AMPL problem.