Initializing help system before first use

Examples

import xpress as xp

p = xp.problem()

p.read("example.lp")

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

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

print(p.getAttrib(['rows', 'cols']))

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

attributes = p.getAttrib()