<< cdh CUTEr cdimsh >>

CUTEr >> CUTEr > cdimen

cdimen

gets the number of variables and constraints involved

Calling Sequence

[n,m] = cdimen()

Parameters

n

number of variables

m

number of constraints

Description

[n,m]=cdimen returns the number of variables in n and number of constraints in m.

Examples

sifdecode(get_sif_path()+'sif/DEMBO7.SIF',TMPDIR+'/DEMBO7')
buildprob(TMPDIR+'/DEMBO7')
[x,bl,bu,v,cl,cu,equatn,linear] = csetup(TMPDIR+'/DEMBO7/OUTSDIF.d');
[n,m] = cdimen()

Authors

Bibliography

Based on CUTEr authored by

Nicholas I.M. Gould - n.gould@rl.ac.uk - RAL

Dominique Orban - orban@ece.northwestern.edu - Northwestern

Philippe L. Toint - Philippe.Toint@fundp.ac.be - FUNDP

see http://hsl.rl.ac.uk/cuter-www


Report an issue
<< cdh CUTEr cdimsh >>