Hello,
I would like to have a variable called myVar hold x decimal places (let’s say 5 decimal places). How can I enforce this?
Thank you for your guidance.
Hello,
I would like to have a variable called myVar hold x decimal places (let’s say 5 decimal places). How can I enforce this?
Thank you for your guidance.
The requirement for myVar to “hold 5 decimal places” is not entirely clear. It could mean, for example,
Can you explain in more detail what you are looking for? Then it will be possible to say how to do it in AMPL.