tbpsg_problem_exporttotext fuction exports the PSG problem from MATLAB to text files with problem in General (Text) Format of PSG.
Syntax
[] = tbpsg_problem_exporttotext(problem_statement, toolboxstruc_arr, path_to_export).
Description
tbpsg_problem_exporttotext(problem_statement, toolboxstruc_arr, path_to_export)exports problem data (problem_statement, toolboxstruc_arr) to General (Text) Format of PSG and saves files to path_to_export folder.
Input Arguments
problem_statement |
string with description of optimization problem (see Problem Statement); |
iargstruc_arr |
array of PSG data structures (see PSG Data Objects); |
path_to_export |
string with path to export folder (should be defined). |
Remarks
• | toolboxstruc_arr should contain all matrices, points and vectors from problem_statement. |
See also
tbpsg_toolbox, tbpsg_vars, tbpsg_solution, tbpsg_run, tbpsg_solution_struct