Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #4237 (new defect)

Opened 3 years ago

Last modified 21 months ago

Resolve IPOPT interface issues

Reported by: wehart Owned by: wehart
Priority: blocker Milestone: Coopr 3.x
Component: coopr.solvers Version:
Keywords: Cc: claird

Description

I just downloaded ipopt from COIN-OR, and ran it on my PC. I get the following output:

C:\coopr>bin\pyomo.exe --solver=asl --solver-options='solver=ipopt' model.py model.dat
[    0.00] Setting up Pyomo environment
[    0.00] Applying Pyomo preprocessing actions
[    0.01] Creating model
[    0.13] Applying solver
[    0.42] Processing results
    Number of solutions: 1
    Solution Information
      Gap: <undefined>
      Status: unknown
    Solver results file: results.yml
[    0.46] Applying Pyomo postprocessing actions
[    0.46] Pyomo Finished

The final value isn't being captured in the results object. But, I'm not sure why.

Attachments

model.py Download (821 bytes) - added by wehart 3 years ago.
Pyomo model that exhibits this error
model.dat Download (68 bytes) - added by wehart 3 years ago.
Data file that is used for the Pyomo model
results.yml Download (2.1 KB) - added by wehart 3 years ago.
The final results object
model.out Download (4.1 KB) - added by wehart 3 years ago.
The output of the ocmmand-line
tmppcmc3a.pyomo.sol Download (709 bytes) - added by wehart 3 years ago.
The SOL file
tmpnujp49_asl.log Download (3.4 KB) - added by wehart 3 years ago.
The logfile for this problem.

Change History

Changed 3 years ago by wehart

Pyomo model that exhibits this error

Changed 3 years ago by wehart

Data file that is used for the Pyomo model

Changed 3 years ago by wehart

The final results object

Changed 3 years ago by wehart

The output of the ocmmand-line

Changed 3 years ago by wehart

The SOL file

Changed 3 years ago by wehart

The logfile for this problem.

comment:1 Changed 3 years ago by wehart

  • Milestone changed from Coopr 3.0 to Coopr 3.1

comment:2 Changed 2 years ago by wehart

I've just confirmed that this is still an open issue. It looks like the SOL file does not return objective value information!

Should we compute this?

comment:3 Changed 2 years ago by jwatson

  • Milestone changed from Coopr 3.1 to Coopr 3.2

comment:4 Changed 2 years ago by jdsiiro

Referenced in changeset [5605]:

Adding a post-processing step to the Pyomo script to calculate the objective(s) if they were not returned by the solver plugin in the results object. This resolves #4237, although arguably, this is a hack that should be revisited as part of the Pyomo Workflows rewrite.

comment:5 Changed 21 months ago by jwatson

  • Milestone changed from Coopr 3.2 to Coopr 3.x
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.