Skip to content

Error with symbol_map creation in asl_io.write.write_nl  #24

Open
@vvvol

Description

@vvvol

On attempt to run simplest example in asl_io.write I have an error
AttributeError: 'float' object has no attribute 'model'
The error occurs in line #28 of write.py in preparing symbol_cuid_pairs .
I use Python 3.11.4 (miniconda) and Pyomo 6.7.1
It is the first time when I see this error on using Pyomo and your excellent asl_io functions. Bad news is that I have got the same error and with other Pyomo models...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions