Which is more computationally efficient??

16 views
Skip to first unread message

Rafa G M

unread,
Apr 30, 2024, 12:46:41 PMApr 30
to AMPL Modeling Language
Dear all, 
I have a question: 
Which is more computationally efficient: 
using computed variables 
or 
including the equivalent constraint in the formulation? 

var A: B+C 
vs 
subject to A==B+C 

Thank you!!
R

AMPL Google Group

unread,
May 1, 2024, 8:49:03 AMMay 1
to AMPL Modeling Language
Your question has been moved to our new user forum at discuss.ampl.com, and a response has been posted there. To see the response, use this link:

https://discuss.ampl.com/t/ampl-25038-which-is-more-computationally-efficient/1080/2

To reply, click the red "Reply" button that follows the response. (Do not send an email reply to this message.)


--
Robert Fourer

We're switching to a new, enhanced user forum.
Join it now at discuss.ampl.com.
{#HS:2584600033-124272#}
Reply all
Reply to author
Forward
0 new messages