Skip to main content
Solved

What is the similarity and difference between Current Case and Active Case?

  • April 21, 2021
  • 1 reply
  • 38 views

Forum|alt.badge.img
  • AIMMS Partner
  • 9 replies

Hi,

If anyone can clarify the difference/similarity between Current Case and Active Case that would very helpful.

 

Thanks,

Best answer by mohansx

@roy 

 

CurrentCase is an element parameter in the set AllCases (which itself is a subset of Integers), and its value indicates which case is loaded currently. 

CurrentCase — AIMMS Function Reference

For example, if you have 5 different case files saved in the data folder of your AIMMS project - each of these 5 case files represent the element 1, 2, .. 5 in the set AllCases. 

 

Active case in the status bar of AIMMS Developer shows the name (path) of the case file that is loaded. This would typically be the value of CaseFileURL(CurrentCase)

CaseFileURL — AIMMS Function Reference

 

Hope this helps. 

1 reply

mohansx
Forum|alt.badge.img+5
  • Former AIMMSian
  • 223 replies
  • Answer
  • April 27, 2021

@roy 

 

CurrentCase is an element parameter in the set AllCases (which itself is a subset of Integers), and its value indicates which case is loaded currently. 

CurrentCase — AIMMS Function Reference

For example, if you have 5 different case files saved in the data folder of your AIMMS project - each of these 5 case files represent the element 1, 2, .. 5 in the set AllCases. 

 

Active case in the status bar of AIMMS Developer shows the name (path) of the case file that is loaded. This would typically be the value of CaseFileURL(CurrentCase)

CaseFileURL — AIMMS Function Reference

 

Hope this helps. 



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

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