AIMMS PRO & Cloud Platform
Get and give help with AIMMS PRO and Cloud Platform
- 77 Topics
- 80 Replies
When querying data from a SQL Server using an ODBC driver (using SQLCreateConnectionString() and ‘trusted_connection=yes’ for the AdditionalConnectionParameters argument), is the authentication carried out for the service account running the AIMMS PRO service on the server or for the user logged into the PRO portal on an AD-linked environment? Is there additional setup required for double-hopping? Or does it depend on whether the AIMMS PRO service account is registered on AD? I am looking for support to build solutions where the database serving the AIMMS application is restricted for use by specific individuals and not service accounts.
I wanted to know how is one supposed to take input from excel sheet when I publish my app on Cloud. I have tried uploading the excel sheet on cloud but I’m not sure how to locate the file on cloud and read data from that. Could you please guide me through this? Thanks.I have attached some screenshots for your reference.
Recently, someone asked me about time limits for AIMMS PRO Jobs.You can control the timeout via the timeout argument in pro::delegateToServer. Note that this timeout is in milliseconds.When thinking about time limits, I usually think about time limit for the solver.To provide the solver with the opportunity to share the best solution thus far, I usually add some minutes to cater for case load, project start, case save etc of the job to the time limit for the AIMMS PRO Job. Therefore, my delegate sometimes looks as follows:if pro::DelegateToServer( ... timeout: p_timeLimit * 1.2 * 1000 + 5 * 60 * 1000, ! timelimit for job is in milli seconds. ....) Where p_timeLimit is the time limit in seconds for the solve itself.
I save the post on how to solve multiple instances of a model iteratively. However, the question I have is how can it be done when using AIMMS Pro? Right now the problem is all instances are being sent out to the cloud at the same time. I want to run one instance, and then the other after that, and based on its results. Can something like this be done?
How can I revert an app on PRO back to it's original ( as designed by the developer ) layout? I know in the older versions of AIMMS you had the possibility to click on your name and you had the option to revert the layout: 4.44: In newer versions of AIMMS I don't see this option anymore. Has this option been (re)moved? 4.71:
I want to clarify the main advantages of installing Pro platforms as a cluster. Is the load distributed when solving tasks(make jobs) on several nodes or is there a link directly to one node? And is it also better to use NLB for balancing, or use a simple round robin by DNS?
When scheduling a job as per the API example found here, a job object is returned that also contains a sessionID.Is it possible to store this sessionID in order to later retrieve the status of the scheduled job? i.e. scheduled/running/finished. EDIT:To clarify, this is my problem:Given: a server object and a (valid) sessionID Goal: Create a Job object that I can use to retrieve the Job.Status propertyHow do I achieve this? As a side question, but not my main focus, how do I get a list of all scheduled jobs (including finished ones) such as the overview you get when navigating to the ‘jobs page’ in the portal?Using the Server.getCurrentJobs() method seems to only retrieve unfinished jobs.
All,I have just begun supporting an AIMMS Pro implementation for my customers, and a separate cybersecurity team found that the traffic from the AIMMS Pro web server is unencrypted:Unencrypted Network Communication: AIMMS Pro Launch Page: When accessing the web frontend used to launch the application, traffic is transmitted using an unencrypted network protocol. Unencrypted Network Communication: Websocket: The application establishes a websocket to communicate with its server using an unencrypted network protocol.Looking through the support/architecture documentation it appears that AIMMS Pro uses it’s own web services to host the page, so I’m trying to see what effort is involved in changing these settings, and what the implication is on the client side as well.
Hi,I have a procedure that I run with pro::DelegateToServer. When I run this procedure in an end-user session on the cloud, the global error handler runs fine when it comes across this statement:raise error "artificial error";.I have set the global error handler in the option menu: However, when running the same procedure in a delegated server session, the global error hander doesn't run. As workaround, I now included this onError block in my code, but it feels a bit weird to me that this is required to trigger the global error handler. Is this expected behavior? I'm running AIMMS 4.97 on the Cloud.
As the title of this question indicates, I am looking to work in developer, but send the solve statement to a pro solver session. (And retrieve the results of course)Two main reasons for this are:In that way my laptop will not be taxed (and overwhelmed) by the models that I am developing In this developing stage I gather date from a database that is not connected to our PRO environmentA workaround that does work is to publish the app including relevant data (as a case to the app). However this is a rather inflexible way of developing. As an extra detail, at this point in time my machine cannot generate and solve the instance in reasonable time, while my described workaround takes a little under 2 minutes.
We have created a new AD group in our AD server. Added the AD group in Groups in AIMMS.However it seems like the changes in group members in Active Directory does not propagate in AIMMS group. We dragged the members to their new groups in able for them to be able to log in.Note that the Group name in AD and AIMMS group are exactly the same. Does AIMMS Pro have a back end process where synchronization between AD and AIMMS are set?Do we have sort of configuration that sets the timing of synchronization?
Dear Community;According to our current Aimms project deployment practice, we deploy an end-user aimmspack file on Windows/Linux machines. The host Windows/Linux machines have a “normal” (normal means not Aimms-Pro) Aimms installed with an end-user licence. The projects are executed using Aimms.exe/AimmsCmd commands.However, we have recently developed a webui for a new project, we are now wondering if we must deploy using Aimms-Pro to have the webui working in the production environment? Can we install Aimms-Pro on Linux servers (I understand from the documentation that it is supported only on Windows servers)? If it is possible to access webui using “normal” Aimms (we prefer linux deployment):How can we define a static port for webui URL? We want to run aimms with --hidden flag and access the webui using a static URL.
Hello, I am working with the AIMMS PRO Cloud Platform and, in one of our systems, the user’s AIMMS project must exchange data with their other solutions through SQLite. We have a current solution in WinUI for this integration but we were looking into adapting the user interface to a cloud-hosted WebUI approach. The challenge we are facing right now is the integration with the DB files. One of those SQLite files reaches the size of 900Mb and the upload widget seems to simply load an animation and show an error. The tool works with smaller files.Would anyone know a way to bypass this size limit while uploading files? Regards, Jean Tremeschin
We would like to inform you that the log4j vulnerability (CVE-2021-44228) does not affect the AIMMS Cloud Platform or AIMMS PRO on-premise installations:The vulnerability is in log4j 2.x (2.0-beta9 to 2.14). AIMMS PRO uses log4j 1.2. This version does not include ‘run-time loading of classes’ which is the functionality used for the vulnerability. Security group configuration on the AIMMS Cloud Platform would prevent exploitation of this vulnerability in case we would be using a 2.x version. In case we would be using a 2.x version, AIMMS PRO on-premise installations would have to permit external calls to an LDAP server, which we consider highly unlikely. Update on December 14, 10:30 CETThe only AIMMS products using Java are AIMMS PRO and the SDK Java client. The LicenseServer and AIMMS are not Java and therefore are not affected. The aimmssdk-server is not Java and therefore is not affected. The aimmssdk codebase does provide a Java variant of the aimms-api, which can be used by cust
Hello all! I'm working on different logs, and now I can get info about, how my solvings are in the server session. But how can I alarm the user, that he needs to wait, because a solving session is running on the server? (I mean there is two planner for the software, and both want to send an MP to the solver. The faster start it, the other one needs to wait, until the previous solving will be finished. I want to send a log message to the waiting user, that the solving won't started because of this) Thanks for the answers!
Hi, The AIMMS Portal allows developers to grant permissions to the aimms apps at different levels ( environment / Group/ User )In a situation where the permissions were invariably modified, reset or lost.Is it feasible to retrieve permissions to an app from a previous day? Is it feasible to retrieve history of all permission modifications that have been made to an app? Is it feasible to retrieve history of all added users ?
In [url=https://how-to.aimms.com/Articles/13/13-Solver-Logging-IDE.html]Retrieve Solver Log Files in AIMMS Developer[/url], we explain how to adapt the project such that solver log files are available for inspection. A solver session runs somewhere on an AIMMS PRO server, and as a user, you do not have direct access to those files. However, with a few small steps, which are explained in this article, you can access these files as well. [url=https://how-to.aimms.com/Articles/13/13-Solver-Logging-PRO.html]Here[/url]
I'm not able to start any PRO session anymore, keep getting this error "Cannot verify project validity" and it says to check logs. The error message in the server log is: java.io.IOException: C:\Program Files\AimmsPRO 2.0\AimmsPROLibrary\vc141\x64 doesn't exist. What could be wrong?
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.