Initializing help system before first use

Examples

import xpress as xp

p = xp.problem ()

p.read ("example.lp")

print ("The problem has",
    p.getAttrib ('nrow'), "rows and",
    p.getAttrib ('ncol'), "columns")

# Obtain dictionary with two entries: the number of rows and
# columns of the problem read

print (p.getAttrib (['nrow', 'ncol']))

# produce a Python dictionary with all attributes of problem m, and
# hence of LP file example.lp

attributes = p.getAttrib ()