This section includes PSG m-functions that modify standard PSG Solution output (see PSG Solution in MATLAB) and returns only needed information:

 

Function

Description

tbpsg_solution_struct

generates structure containing PSG solution reports in convenient MATLAB format;

tbpsg_solution

returns part of PSG solution according to key word;

tbpsg_isoptimal

retuns the logical variable is the solution of optimization problem optimal or not;

tbpsg_objective

retuns objective value from the solution report;

tbpsg_function_data

retuns functions value from the solution report;

tbpsg_function_names

retuns names of functions used in problem;

tbpsg_time

retuns time of preprocessing and solution problem from the solution report;

tbpsg_point_data

retuns data of all points for solved optimization problem;

tbpsg_point_vars

retuns header (names of variables) of all points for solved optimization problem;

tbpsg_optimal_point_data

retuns data of optimal point for solved optimization problem;

tbpsg_optimal_point_vars

retuns header (names of variables) of optimal point for solved optimization problem;

tbpsg_constraints_data

retuns values of constraints;

tbpsg_constraints_vars

retuns names of constraints;

tbpsg_slack_data

retuns values of slacks of constraints;

tbpsg_dual_data

retuns values of dual constraints;

tbpsg_vector_constraint_data

retuns sell array with values of constraints in the case of vector constraint;

tbpsg_vector_dual_data

retuns sell array with values of slacks in the case of vector constraint;

tbpsg_vector_dual_data

retuns sell array with values of dual constraints in the case of vector constraint;

tbpsg_matrix_data

retuns data of matrices for solved optimization problem;

tbpsg_matrix_vars

retuns headers (names of variables) of matrices for solved optimization problem;

tbpsg_vector_data

retuns data of vectors for solved optimization problem.