Groups
Sign in
Groups
Pyomo Forum
Conversations
About
Send feedback
Help
CBC APPSI
90 views
Skip to first unread message
André Lisboa
unread,
Feb 2, 2024, 1:53:24 PM
Feb 2
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pyomo Forum
Hey,
Has anyone tried to use CBC in APPSI?
I am having the following issue:
Solver <class 'pyomo.contrib.appsi.solvers.cbc.Cbc'> is not available (NeedsCompiledExtension)
Best regards,
André Lisboa
JUAN CAMILO CAMARGO BERRUECO
unread,
Feb 2, 2024, 2:08:58 PM
Feb 2
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pyomo Forum
Did you already build the extension?
You need to compile using:
https://pyomo.readthedocs.io/en/stable/library_reference/appsi/appsi.html#installation
Yohan Fleuriot
unread,
Feb 2, 2024, 2:11:58 PM
Feb 2
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pyomo Forum
Hi,
python >>> from pyomo.contrib.appsi.build import build_appsi >>> build_appsi()
Or else I think you can execute: pyomo build_extensions
André Lisboa
unread,
Feb 6, 2024, 11:42:02 AM
Feb 6
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pyomo Forum
Thank you! Was missing the installation of Micrososft C++ Build tools :
https://visualstudio.microsoft.com/visual-cpp-build-tools/
Reply all
Reply to author
Forward
0 new messages