Janus 2.0.0
High-performance C++20 dual-mode numerical framework
Loading...
Searching...
No Matches
janus::ScalingIssue Struct Reference

One diagnostic item produced by Opti::analyze_scaling(). More...

#include <Scaling.hpp>

Public Attributes

ScalingIssueLevel level = ScalingIssueLevel::Warning
ScalingIssueKind kind = ScalingIssueKind::Variable
int index = -1
 Variable block index or constraint row.
std::string label
 Human-readable identifier.
std::string message
 Explanation and suggested action.
double raw_magnitude = 0.0
 Magnitude in physical units.
double applied_scale = 1.0
 Current scale.
double normalized_magnitude = 0.0
 |raw| / scale
double suggested_scale = 1.0
 Heuristic recommendation.

Detailed Description

One diagnostic item produced by Opti::analyze_scaling().

See also
ScalingReport for the aggregate container

Member Data Documentation

◆ applied_scale

double janus::ScalingIssue::applied_scale = 1.0

Current scale.

◆ index

int janus::ScalingIssue::index = -1

Variable block index or constraint row.

◆ kind

ScalingIssueKind janus::ScalingIssue::kind = ScalingIssueKind::Variable

◆ label

std::string janus::ScalingIssue::label

Human-readable identifier.

◆ level

ScalingIssueLevel janus::ScalingIssue::level = ScalingIssueLevel::Warning

◆ message

std::string janus::ScalingIssue::message

Explanation and suggested action.

◆ normalized_magnitude

double janus::ScalingIssue::normalized_magnitude = 0.0

|raw| / scale

◆ raw_magnitude

double janus::ScalingIssue::raw_magnitude = 0.0

Magnitude in physical units.

◆ suggested_scale

double janus::ScalingIssue::suggested_scale = 1.0

Heuristic recommendation.


The documentation for this struct was generated from the following file: