Can I use logarithm in AMPL

1,152 views
Skip to first unread message

wanjun

unread,
Jan 29, 2009, 12:43:07 PM1/29/09
to am...@googlegroups.com

Dear all,

I want to formulate some equations like ln(z(k)) <= D,
z(k) is a variable. Is there some function or keyword used as logarithm?
Or is there some method to calculate logarithm? Thanks

Wanjun
--
View this message in context: http://www.nabble.com/Can-I-use-logarithm-in-AMPL-tp21731880p21731880.html
Sent from the AMPL mailing list archive at Nabble.com.

Robert Fourer

unread,
Feb 1, 2009, 10:53:20 AM2/1/09
to am...@googlegroups.com, wanjun

log(x) is the natural logarithm (ln), and
log10(x) is the base-10 logarithm.
Reply all
Reply to author
Forward
0 new messages