Minotaur 0.4.1
Docs for developers
Public Attributes | List of all members
Minotaur::ConstraintStats Struct Reference

The Problem that needs to be solved. More...

#include <Problem.h>

Public Attributes

int nvars = 0
 
int nterms = 0
 
int nsqterm = 0
 
int nbilterm = 0
 
int nposcoefone = 0
 
int nnegcoefone = 0
 
int nposcoef = 0
 
int nnegcoef = 0
 
int nposcont = 0
 
int nnegcont = 0
 
int nposbin = 0
 
int nnegbin = 0
 
int nposint = 0
 
int nnegint = 0
 
int eqwt = 0
 
double wt1 = 0.0
 
double wt2 = 0.0
 
double sumnegwt = 0.0
 
int con = 0
 

Detailed Description

The Problem that needs to be solved.

The Problem class contains the Variables, Constraints, Objectives that collectively define a particular problem that can be solved. A problem can be described as

min/max f(x)

s.t. l_i <= g_i(x) <= u_i, i = 1,2, ... , m

  l_i <= x_i <= u_i, i = 1, 2, ..., n

A way of setting up an problem is to first ask it to create 'n' variables. Then the constraints and objective can be added one by one.

A Problem is a very generic class. The Relaxation classes are derived from it.


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

Minotaur source code documented by Doxygen 1.9.4 on Thu Apr 24 2025