carbatpy.utils.optimize ======================= .. py:module:: carbatpy.utils.optimize .. autoapi-nested-parse:: Scripts for the evaluation of the results of the fluid search, e.g. finding pareto optimal compositions. Created on Sun Feb 4 17:38:19 2024 @author: atakan part of carbatpy Attributes ---------- .. autoapisummary:: carbatpy.utils.optimize.FILENAME_ACT Functions --------- .. autoapisummary:: carbatpy.utils.optimize.pareto Module Contents --------------- .. py:function:: pareto(filename, objectives) Compute the Pareto (non-dominated) set from the data stored in filename :param filename: directory/file of the csv-file to analyze. The column names will be used to find the objectives. :type filename: string :param objectives: the first list in the list are the column names to search for optima. the second list indicates for each optimization, whether a "max" or "min" is searched. Here "diff" can be in a column to indicate a column with categories, which are analyzed separately. :type objectives: list of strings, length [2, number_of_objectives] :returns: **results** -- with the whole pandas dataFrame (key:"all_values") and a list of booleans if True, this line of the set is pareto optimal (key:"optimal_mask"). Also, the "objectives" are returned. :rtype: dictionary .. py:data:: FILENAME_ACT :value: 'C:\\Users\\atakan\\sciebo\\Python\\carbatpy\\tests\\test_files\\test_data_ProEthPenBut'