Ticket #73 (new defect)

Opened 1 month ago

SyntaxError: invalid syntax

Reported by: nils Assigned to:
Priority: major Milestone:
Component: openopt Version:
Keywords: Cc:

Description

>>> from scikits import openopt
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/scikits/openopt/__init__.py", line 6, in ?
    from oo import LP, NLP, NSP, MILP, QP, NLSP, LSP, GLP, LLSP,  MMP, LLAVP
  File "/usr/lib/python2.4/site-packages/scikits/openopt/oo.py", line 6, in ?
    from Kernel.BaseProblem import *
  File "/usr/lib/python2.4/site-packages/scikits/openopt/Kernel/BaseProblem.py", line 11, in ?
    from ooIterPrint import ooTextOutput
  File "/usr/lib/python2.4/site-packages/scikits/openopt/Kernel/ooIterPrint.py", line 6
    'isFeasible': lambda p: ('+' if p.rk<p.contol else '-')
                                  ^
SyntaxError: invalid syntax