Forum Discussion
FICO
5 years agoCommunity Manager
Accessing Mosel array from JavaScript
Hello,
I have a Mosel array:
arr: array(S, T) of real
and need to sum it over T for a fixed s in S - need to do this in JavaScript in VDL. How can this be done?
Thank you!
Miroslav
2 Replies
- FICOCommunity Manager
Hi Miroslav,
I'm a bit unsure of what you are trying to achieve by the mention of JavaScript in VDL.
I have attached a short example that I think may be close to what you have requested but let me know if there is something else required.
Best regards,
Joc
- FICOCommunity Manager
Hi Joc,
Thank you very much for the help and quick reply! This is exactly what I needed. Somehow, I couldn't get the the individual array elements before. Maybe needed to convert the index to string.
Best regards,
Miroslav
Related Content
Related Content
How to access updated entity value in a JavaScript function?
I have written JS code to check on whether a user entered value is already in an index or not. However, I'm having a hard time passing in the modified entity value into the JS function. It seems the ...3 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum4 unread comments4 unread0Views0likes4CommentsAccess rights to the Workbench data directory of Dockerized Workbench
I switched to Linux and found out that Linux version of Xpress does not include Workbench (nor IVE). (By the way, this information is rather hidden in the documentation.) I am therefore experimentin...11 months agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum7 unread comments7 unread1View0likes7Comments