Product Update - Expected WebUI features in AIMMS 4.84

Dear Community,As you know, we’ve been working on a new Widget framework and improvements to our widgets Option Editor. While doing so, we built a new Combination Chart widget.The next release will likely include the following: Combination Chart (Beta Release)- In this initial version, the widget supports only data representation with Columns. This Chart widget includes improvements such as: The ability to control the ‘Number of Decimals’ and ‘Show/Hide Units’ per content. ‘Number of Decimals’ and ‘Show/Hide Units’ default options and these values are inherited across contents. These option values per content can be overridden with an explicit value. The ability to add the same content multiple times and slice each differently. Interactive Legend, with option to toggle it On/Off. Data labels, with option to toggle it On/Off. Option to control the number of visible Data categories within viewport through the introduction of a Horizontal scroll. The ability to set a chart sub-title and tiles for Axes. Add Widget Wizard - We have redesigned the experience of adding new widgets. We now start by providing the widget type input and then the name. Based on the widget type, you can provide the contents. Contents and other options for the widget can be configured through the option editor. We hope these features bring value to your applications and further enhance your user experience. Please leave your feedback and suggestions in the comments. Thanks.Team WebUI.

Related products:WebUI

WebUI Theming: new, easier options available soon

Dear Community,While we know many of you are pleased with the way our WebUI looks, we also recognize that many of you want to add a custom touch: using your company colors, adding a logo or maybe opting for a dark theme. Current theming = adding custom, magic stylesheets If you have ever tried to change, for example, the color of buttons, or add an amazing gradient to your app's background, you will probably find out that these seemingly simple changes can take quite a lot of effort. Custom stylesheets with some pretty long, repetitive and illogical selectors need to be maintained. Upcoming WebUI Theming = Custom CSS Properties So, we decided to start working on a better way. More logical, more future-proof, more manageable.That is why we're introducing a whole range of new CSS variables (officially known as Custom CSS Properties) that will give you access to the properties of the WebUI elements that are most often changed.CSS variables can be changed on the fly, so your browser's developer tools can give you immediate feedback on the effect of what you're changing. And they'll all be grouped together, using much more logical names than before. Just list your desired values in a single, easy to set up stylesheet file and you're ready to go.You wanted dark red instead of bright blue buttons? Add this to your project and you're done!:root {    --color_bg_button_primary: #7f0000;    --color_bg_button_primary_hover: #600000;    --color_bg_button_primary_active: #a00000;}There will be 50+ other properties to work with.We will document all the possibilities with the official release, providing hints and demos. Customer Support will also be able to guide you even better than with the old custom stylesheets.    How you benefit:change the basics by changing just a few colors or other properties. set the color/font/property of one logically named item and you'll see it work wherever it should work. feeling adventurous: add 'scoping' to your variables and limit where you apply theming. feeling really adventurous: combine old custom stylesheets with some new variables and get 'the best of both worlds'. Just because you can and because we're not ending the old ways of working all of a sudden.What this means for us:we are now solely responsible for making your theming work with whatever we add or change to WebUI. New widgets, differently structured widgets: it will now be possible without you seeing any side-effects. we can make sure you don't compromise the usability of the developer-interface parts of WebUI.Expect to see more news about this before the end of Q1'22. A limited trial setup will be part of the next release, but lacking full documentation and support for now.Keep an eye on the product updates to see how we progress and please reach out to us to share your thoughts.   Thanks!Team WebUI

Related products:WebUI

What’s New in AIMMS products? Check out the Greatest Hits in 2021

Curious about the features and product updates our team released in 2021? We collected the highlights below.  AIMMS Development   AIMMS Community Edition Since its launch in March 2021, many users around the world are using AIMMS Community Edition! In case you haven’t requested yours yet, this free AIMMS license gives you access to our extensive capabilities for model diagnostics, data connectivity, web application building and visualization, case management features, and more. AIMMS Community Edition also includes access to the open source solvers CBC (for linear and mixed-integer problems), and IPOPT (for nonlinear problems), as well as the AOA solver (for mixed-integer nonlinear problems). It’s ideal for personal projects and training purposes. Request AIMMS Community Edition todayWebUI  We released a new Application Management capability as experimental feature in February and released this as a standard feature in September. This allows you to more easily copy, move and rename widgets on your pages.  Read more   The Grid Layout became a standard feature in July. This gives you far better control over where widgets are placed on your pages, dialogs, and side panels using pre-defined or custom layout templates. Read more  You can now download widget contents as an image - one of the many ideas submitted in our community.   You can now add custom tooltips for the X-, Y- and Size labels in your Bubble Chart widgets, which can further increase the clarity of the data that you are presenting to your users in this widget type. We also added support for custom tooltips to the Button, Upload and  Download widgets – another idea submitted in our community.  We announced a new WebUI Widget Framework, which will make widgets more flexible, robust, and easy to use for us and our users to manage, and hosted a live product update to provide a demo of upcoming features.     We extended the Text Widget to support a string parameter as its content. This means that you can now dynamically specify the content of this widget.  PLUS we would love your feedback on the new widget types we are building. Take a short survey.  For a complete overview of new features, check out this page.  Algorithmic Capabilities As of this summer, Gurobi can now be used on applications running on the AIMMS Cloud Platform - thanks to Gurobi’s new Web License Service (WLS). This expanded the choice of solvers you have across AIMMS products. In AIMMS 4.83 (released in November), we added support for Gurobi 9.5, which comes with performance improvements for LP, MIP, MIQP models and for convex and non-convex MIQCP models. This release also shipped with the following:For most GMP procedures used to modify columns, rows or coefficients, we added a ‘raw’ variant which uses a set of columns and/or row numbers as input. You can now use a new procedure GMP::SolverSession::GetIIS to retrieve an irreducible infeasible set (IIS) for an infeasible math program. It returns the row and column numbers of the rows and columns in the IIS. The IIS will be calculated by the solver and is supported by CPLEX, Gurobi and BARON.Besides this, we released other algorithmic capabilities this year, such as:  The use of quadratic structures in solvers, including Knitro 12.3 (or higher)  Support for blockmatrices in submodels  For more information about the latest algorithmic capabilities, click here.   Data Exchange Library The Data Exchange library now enables you to expose procedures in your model through a REST API. We also announced several improvements in the Data Exchange library last month, including:  A new annotation-based JSONDocument generator that creates a mapping for a standardized nested JSON document to read and write all data for a given collection of identifiers in a model.  A new function dex::ResetMappingData() to empty all identifiers, sets, and reset counters used in a particular mapping.    AIMMS Network Design  We started the year by revamping the user experience in AIMMS Network Design, check out this post for details.  You can now generate Geocodes, Trip Times and Distances automatically.   We released features to make maps in AIMMS Network Design more customizable, easier to use, and visually appealing.  The app now enables you to model non-financial objectives, like carbon emissions and power consumption, to assess sustainability trade-offs. Watch a demo and learn more  AIMMS Docs: Now open source  We opened our documentation’s source code in an effort to make it easier for users to provide feedback and contribute to the improvement of our products. Read more  AIMMS Academy: More training possibilitiesThis year, we expanded the course offering on AIMMS Academy to include:Error Handling WebUI Advanced User Interaction  Inventory Planning Execution Efficiency Remember that you can get certified in several of our courses. Enroll today! 

Related products:AIMMS DeveloperIntegrations and Data ExchangeNetwork DesignExamples and How-To

Product Update - Expected WebUI features in AIMMS 4.82

Dear Community, We recently released a couple of improvements for the side panels, mentioned in the previous product update in AIMMS 4.81.4. In the next release, we will be making the following features General Availability features. Application Management - The new application manager will become the default option when developing applications. We have made a couple of improvements as well. Combined all widgets under a page in a “Widgets on page” section. That helps reduce the clutter and the length of the application tree. It also helps identify the widgets from the pages. Removed the effect where, when a widget is copied and pasted, the source node of the copied widget expands. The copied widget will lose the border once it is pasted. However, the copied widget will stay on the clipboard unless another widget is copied, or the application is closed. Download PNG - We have extended this feature to also the Map widget. Download PNG will be a default option for all the Charts widgets, Table and Map widgets, and the Full Page. Selection Box V2 - The Selection Box V2 widget was released as an experimental feature in AIMMS 4.80. This widget will now be available in the list of widgets you see when adding widgets to a page. The advantages are mentioned in this product update, a couple of which are: Server-side search allows users to search the entire data set, i.e. all elements in the set regardless of the size of the set.  Users can scroll the complete list of elements.  We hope these features bring value to your applications and further enhance the experience. Please leave your feedback and suggestions in the comments. Thanks.Team WebUI.

Related products:WebUI

New Algorithmic Capabilities in AIMMS 4.81

We added some interesting new algorithmic capability features in the latest release, AIMMS 4.81. Gurobi Use on the AIMMS Cloud So far, you could use Gurobi on desktop licenses and on-premise deployment systems, such as AIMMS PRO. However, the AIMMS Cloud was not able to support this. Thanks to a new licensing mechanism developed by Gurobi Optimization, it is now possible to connect your Gurobi Web Service License to the AIMMS Cloud. For more details, please check our AIMMS Cloud Gurobi support documentation.   Passing Quadratic Structures to Knitro We added a new option called “Use Quadratic Structure” to the Solvers General category. If this option is active, quadratic structures are passed to Knitro 12.3 (or higher). Check the AIMMS Help section inside the IDE for more information.      Creating Block Matrices for Submodels If the coefficient matrix of a math program contains several independent block submatrices, then you can use the new function GMP::Instance::CreateBlockMatrices to decompose the math program into several generated math programs, each containing an independent block submatrix. Each of these blocks can be solved separately. By combining the solution blocks, you can obtain a complete solution to the original math program. This approach can be more efficient than solving the full math program at once.math program with 3 blocksEnjoy!

Related products:AIMMS DeveloperAIMMS PRO and Cloud Platform

AMMS 4.81 and Upcoming Features

Dear Community, With AIMMS 4.81, Grid Layout is now a General Availability feature and the default layout applied when adding new Pages, Dialog Pages, and Side Panel Pages will be the grid layout. That does not mean that the existing pages in your application that are in classic layouts will be converted to Grid Layout pages. You still have the choice to select the Classic Layout once a new page has been added.We have made considerable improvements to the existing functionality. To mention a few:Auto scrolling to the selected layout in the page configurator. Hidden widgets in a grid no more cause an issue for other widgets in the same grid. Although we discourage the use of hidden widgets. Compact Scalars are sized correctly now.We hope you have had a positive and great experience using Grid Layout in your applications.  We encourage you to start using Grid Layout in your applications, if you have not already, as support for Classic Layout will be limited. Also, the new widgets that will be introduced will only be available on Grid Layouts. Upcoming Features: We are working on improving the functionality of the Side Panels as well.state property for Side Panels: The state property in the SidePanelSpecification can be used to show or hide specific side panel tabs. The state can have one of two values Active - To show the Side Panel and Hidden - To hide the Side Panel. When the data for properties like displayText, tooltip, icon, or iconcolor is changed for a side panel that is open in the WebUI, the side panel will remain open. The side panels will close only when pageId and state is changed Thank you,Team WebUI.

Related products:WebUI

Information on transfer of existing cloud accounts from AWS to Azure

As you may know, we will transfer the AIMMS Cloud Platform from AWS to Azure. A few words on the transfer of existing cloud accounts from AWS to Azure:We are currently writing the ‘playbook’ for this and developing and testing the technology. We expect to start the first transfers in July and we intend to complete the last account transfer no later than the end of this year. Our ‘guiding intention’ is to minimize the impact for our users. If you want we can first transfer your ‘non-production account’ and then one or two weeks later your ‘production’ account, allowing you time to convince yourself that everything still works as before. We anticipate a few hours of downtime as we need to take the application database off-line when we transfer its contents. We will schedule this downtime at your convenience. Customers using SSO via ADFS/SAML will need to ask their IT colleagues to set-up the ADFS/SAML identity provider to point to the new AIMMS PRO metadata URL (more info). We will support you. Customers using IP-range white-listing for providing their cloud account access to on-premise data sources will need to adjust the white-listed IP range. We will support you. Customers using VPN access will have to re-configure their VPN gateway. We will support you.  We do not offer an option to stay on AWS. We are too small to properly support two versions of the AIMMS Cloud Platform, especially as we are making extensive use of the PaaS managed services of the cloud providers and these are quite different between AWS and Azure. So we will transfer all our customers from AWS to Azure and then shut-down the AWS version of the AIMMS Cloud Platform. Please let me know if you have questions.Jan-WillemAIMMS Cloud Platform

Related products:AIMMS PRO and Cloud Platform

AIMMS meets MS Teams

Many of us use a tool like MS Teams nowadays to meetup, create teams to exchange information, have chat groups etc. We also are aware that some of our customers have channels to exchange AIMMS information such as best practices, internal support, example cases, snippets and more.So why not add AIMMS Apps to the teams that you have created, or are in to e.g. give access to a specific App to the team, or add the App Portal to the users. Once added, the App can be used inside the TAB, or you can open it in a browser. All works out of the box.In my opinion, this can be very handy for training channels, or for easy distribution of a specific App to a specific user group (no need to send out or find the portal URL) and you can build an experience around the App(s) and make it a more integral part of something else (files, chat, other tabs, planner, polls, etc.). Is this interesting? Not at all? Love to hear your reaction/ideas/suggestions for its combined use.  If you want to try, its good to know:MS Teams version should be based on Chromium 85.0 or higher, which I think is MS Teams 1.4.00 or higher (update to the latest should do the trick).Also, we know there are some limitations (intrinsic due to MS Teams), but those are not really hampering its use. We found:download image and csv drops the files right in your download folder without a message as there is no status bar switching tabs always brings the app back the URL you added in the tab settings (there is no ‘active tab’ concept yet in MS Teams)  Select Add Tab in MS TeamsEnter details for Website Tab using URL of App (right-click on Launch App button)Now you can run the App inside the MS TabOther features of MS Teams can be used around your AppEnter details for Website Tab using URL of App portalNow Apps can be started (will open in default browser) 

Related products:AIMMS DeveloperAIMMS PRO and Cloud Platform

Producing or Consuming REST APIs Using the Data Exchange library

Version 1.2 of the Data Exchange library supports a new capability to expose procedures in your model through a REST API. You can simply expose procedures by adding a model annotation to specify the service name through which you want the procedure to be exposed. Within a procedure called this way, you have full access to the query parameters, HTTP headers and the body of the request through predefined parameters in the Data Exchange library. The latter can also be used to map the data in a request body to parameters in your model, or conversely, to create a response body from the output data of your model. For now, you can directly use this feature on the desktop, for instance to allow AIMMS to be called from within a Python application, or a Jupyter notebook. As you can use this functionality directly from the AIMMS IDE, this will even allow you to interactively debug such requests using the AIMMS debugger. As this functionality will work with all types of AIMMS licenses (also the free Academic and Community licenses), this is now the preferred way to embed AIMMS in other applications running on your desktop.  This functionality will also form the basis for exposing AIMMS models through a REST API on the AMMS Cloud Platform. This will, however, require additional support in the AIMMS Cloud Platform for load-balancing and routing API calls to the appropriate solver session, which is planned for Q4 of this year. We do not plan to support this functionality for AIMMS PRO on-premise installations.  In addition, the Data Exchange library now also contains a completely asynchronous Curl-based HTTP client library, which supports any feature supported by libCurl that can be activated through an integer- or string-valued Curl option.  This makes the Data Exchange library your one-stop shop for producing or consuming REST APIs from within your AIMMS models.Visit the documentation page for more information.

Related products:Integrations and Data Exchange

Product Update - Expected WebUI features in next release!

The below mentioned features are available with AIMMS version 4.80. Read more about the New Features.Dear Community,  We had mentioned a couple of new features in the previous product update. Apart from that, we have now extended the grid layout to the side panels as well. Also, the Side Panels now have the option to configure icons and icon colors on the tabs. Here is a preview of those two features.Side Panel Grid Pages: As part of improving the layout of the application and maintaining consistency, we have extended grid layout support to side panel pages as well. The process is the same as converting pages to the grid layout. You can also create and apply custom layouts, and utilize the space more efficiently. Side Panel Grid Page with Custom LayoutWe are also contemplating providing different sizes for the side panel. We encourage you to read through the topic.    Addition of `icon` and `iconcolor` properties in the side panel specification. We have introduced two extra properties in the SidePanelSpecification which allows you to now add icons and color to the icon for specific tabs. You can use the icon and color to depict and indicate some more information without the user having to open the tab.     We hope these features help further enhance the experience of your application and the happiness of your users..Please leave your feedback and suggestions in the comments. Thanks.Team WebUI.

Related products:WebUI

WebUI features update

The below mentioned features are available with AIMMS version 4.80. Read more about the New Features.Dear Community,Here is a preview of a few of the new features / additions to the WebUI.Selection Box V2 (Experimental Feature): This is a replacement for the dropdown Selection Box with some extra features and improvements: Server-side search allows users to search the entire data set, i.e all elements in the set regardless of the size of the set.  Users can scroll the complete list of elements. Better performance since the data is loaded only when needed. Available for Grid Layout only. Built with new technology. These options are not available in Selection Box V1. Grid Layout on Dialog Pages: As part of improving the layout of the application and maintaining consistency, we have extended grid layout support for Dialog pages. The process is the same as converting pages to the grid layout. You can also create and apply custom layouts, as you would for regular pages. You can now specify CUSTOM sizes for Dialog pages. We will soon begin extending grid layout support for the Side Panels as well. It has also been a few months since we released our first set of features on Application Management in 4.78, which allow you to easily cut, copy, paste, and move widgets from one page to another. We would love to hear your feedback and if you have any suggestions. You can read more about it and add your comments here. In our upcoming release, we will be removing one of the Experimental Features, Ignore Map Upgrade. All map widgets will now be rendered with the latest version. Please read more about that here. We hope these features add more value to your applications and further enhance the experience. Please leave your feedback and suggestions in the comments. Thanks.Team WebUI.

Related products:WebUI

New attribute for library: Required Units

Having the same quantity declared in multiple libraries and modules was the source of many problems and unexpected behavior. Starting in AIMMS 4.79 we move away from this and follow this new recommendation/best practice:Declare all your quantities at one location in your main model and do not declare them in a library or module. If your library or module needs a specific unit, use the new attribute Required Units to make sure that the main model will automatically declare this unit.This new attribute, Required Units, is available for libraries and modules and it specifies which units the module or library needs to work correctly. For example, until now, the WebUI library had its own quantity SI_Time_Duration declared because it needed the units [s] and [minute]. In the new version, the WebUI no longer has this quantity. Instead, it specifies the new attribute as follows: What will this do?For a new model or for an existing model that does not have its own quantity SI_Time_Duration declared, this specification tells AIMMS to automatically add a quantity in the main model. This quantity will appear in a new section called “Quantities and Units,” which is added as the last section in the root node of your main model (see image below). For an existing model that already contains the quantity SI_Time_Duration, this quantity is extended with two derived units [s] and [minute] (unless these are already present).You are free to adapt the automatically added quantities and/or units to your own needs, but of course you cannot delete the added units. They will be added again as soon as you restart the model with the WebUI library.In AIMMS 4.79, the following libraries and modules are now using this new feature:WebUI library System modules: MultiStart, GMP_BendersDecomposition and GMPOuterApproximation AimmsProGui librarySo if you use any of these in your application, it could be that a quantity or unit is added to your main model. If this happens, a message will appear in the Message window, and also the comment of the quantity will tell you which units were added.We don’t expect any real problems because of this change. It will just make it easier to understand which units come from which quantity. The only thing that we know of is that the suffix SolutionTime of a math program ‘suddenly’ may have a unit seconds, and this might lead to an error/warning about non-commensurate units in expressions where you use this suffix. The option ‘Solution Time has unit Seconds’ can be used to make sure that this suffix is always unitless, even if the unit [s] is known in the main model.Of course, this new attribute is not only for the generic libraries and modules that are shipped with AIMMS. You can (or should) use it in your own libraries as well, to make sure that you follow the recommendation/best practice stated above.If you encounter any problems because of these changes, please let us know.   

Related products:AIMMS Developer

Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator