EllAlgo 1.6.13
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ProfitOracleRb Class Reference

Oracle for a profit maximization problem (robust version) More...

#include <profit_oracle.hpp>

Public Member Functions

 ProfitOracleRb (double p, double A, double k, const Vec &a, const Vec &v, const Vec &e, double e3)
 Construct a new profit rb oracle object.
 
auto assess_optim (const Vec &y, double &gamma) -> std::tuple< Cut, bool >
 Make object callable for cutting_plane_optim()
 

Detailed Description

Oracle for a profit maximization problem (robust version)

This example is taken from [Aliabadi and Salahi, 2013]:

max     p'(A x1^alpha' x2^beta') - v1'*x1 - v2'*x2
s.t.    x1 \le k'

where: alpha' = alpha ± e1 beta' = beta ± e2 p' = p ± e3 k' = k ± e4 v' = v ± e5

See also
ProfitOracle

Constructor & Destructor Documentation

◆ ProfitOracleRb()

ProfitOracleRb::ProfitOracleRb ( double  p,
double  A,
double  k,
const Vec &  a,
const Vec &  v,
const Vec &  e,
double  e3 
)
inline

Construct a new profit rb oracle object.

Parameters
[in]pthe market price per unit
[in]Athe scale of production
[in]ka given constant that restricts the quantity of x1
[in]athe output elasticities
[in]voutput price
[in]eparameters for uncertainty
[in]e3parameters for uncertainty

Member Function Documentation

◆ assess_optim()

auto ProfitOracleRb::assess_optim ( const Vec &  y,
double gamma 
) -> std::tuple<Cut, bool>
inline

Make object callable for cutting_plane_optim()

Parameters
[in]yinput quantity (in log scale)
[in,out]gammathe best-so-far optimal value
Returns
Cut and the updated best-so-far value
See also
cutting_plane_optim

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