Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sorry, I'm missing some syntax. I tried

def LP():
    alias 'LP'='MixedIntegerLinearProgram'
    load("LP.sage")

gets the error

File "<ipython-input-4-fc93b025772b>", line 2
    alias 'LP'='MixedIntegerLinearProgram'
             ^
SyntaxError: invalid syntax