Lexical comparison ObjData parameter influence

20 views
Skip to first unread message

Lennart Morlock

unread,
Feb 29, 2024, 12:40:12 PM2/29/24
to MUSE
Hi everyone,

I want to use the lexical_comparison decision method. While the general concept, as described in section 9.3.7 Agents in the documentation, makes sense to me, I have difficulty understanding the actual implementation described in section 12.3.3. Decision Methods

The impact of the ObjData parameters is especially unclear to me since from the general description I understood the lexical comparison to just compare one objective at a time starting with the most important one (Objective1?). 

Could somebody explain how the lexical_comparison works and how the ObjData parameters come into play? 

That would be much appreciated. 

Best 
Lennart

Lennart Morlock

unread,
Mar 7, 2024, 6:49:09 AM3/7/24
to MUSE
Hi,

After looking at the code, I understand now that the lexical_comparison decision method does not compare the replacements by their actual objective values lexicographically but instead by what floored multiple of the bin size their objective is. Thus, with a bigger bin size (influenced by a larger ObjData parameter), more replacements' objective is a multiple of the bin size that only differs by some decimals and thus are considered equal in this comparison (since the decimals get lost in the flooring operation). Therefore, all replacements whose objective varies within one bin size are grouped concerning that objective before applying the lexicographic comparison. By default, this grouping is not done to the last defined objective. I guess this is to reduce the number of replacements ranked equally by this decision method.

On a side note, the comparison does start with Objective 1. So, if one wants the lexical_comparison to compare each objective in order and only consider the second one if the first objective is identical for multiple technologies, one must choose the ObjData1 parameter to be very small. The same applies to the second objective.

Best 
Lennart
Reply all
Reply to author
Forward
0 new messages