Skip to main content

ModelCenter Custom Optimization Algorithm SDK 2026 R1

MockOptions Class

Last update: 19.06.2026

Namespace: Phoenix.Optimization.AlgorithmTests.MockObjects

Overview

Mock options to facilitate testing

Declaration

class MockOptions

Description

Mock options to facilitate testing

Properties

Type Name Description
string DetailsReportPostRun [get, set] Detials report that is set during MockAlgorithm.Run
string finalMessage [get, set] A string that should be null prior to MockAlgorithm.Run being called
string modiferMessage [get, set] A string that will be used to the set the finalMessage during MockAlgorithm.Run
string ResultsReportPostRun [get, set] Results report that is set during MockAlgorithm.Run

Property Documentation

DetailsReportPostRun

string DetailsReportPostRun

Detials report that is set during MockAlgorithm.Run

finalMessage

string finalMessage

A string that should be null prior to MockAlgorithm.Run being called

modiferMessage

string modiferMessage

A string that will be used to set the finalMessage during MockAlgorithm.Run

ResultsReportPostRun

string ResultsReportPostRun

Results report that is set during MockAlgorithm.Run

Connect with Ansys