frepple::SolverMRP::State Struct Reference

This class is used to store the solver status during the ask-reply calls of the solver. More...

#include <solver.h>

List of all members.

Public Attributes

double a_cost
Date a_date
double a_penalty
double a_qty
BuffercurBuffer
DemandcurDemand
OperationPlancurOwnerOpplan
bool forceLate
Plannablemotive
Date q_date
Date q_date_max
FlowPlanq_flowplan
LoadPlanq_loadplan
OperationPlanq_operationplan
double q_qty

Detailed Description

This class is used to store the solver status during the ask-reply calls of the solver.

Definition at line 486 of file solver.h.


Member Data Documentation

double frepple::SolverMRP::State::a_cost

Cost of the reply.
Only the direct cost should be returned in this field.

Definition at line 537 of file solver.h.

Date frepple::SolverMRP::State::a_date

This is the Date when we can get extra availability.

Definition at line 521 of file solver.h.

double frepple::SolverMRP::State::a_penalty

Penalty associated with the reply.
This field contains indirect costs and other penalties that are not strictly related to the request. Examples are setup costs, inventory carrying costs, ...

Definition at line 544 of file solver.h.

double frepple::SolverMRP::State::a_qty

This is the quantity we can get by the requested Date.

Definition at line 518 of file solver.h.

Buffer* frepple::SolverMRP::State::curBuffer

Points to the current buffer.

Definition at line 498 of file solver.h.

Demand* frepple::SolverMRP::State::curDemand

Points to the demand being planned.
This field is only non-null when planning the delivery operation.

Definition at line 491 of file solver.h.

OperationPlan* frepple::SolverMRP::State::curOwnerOpplan

Points to the current owner operationplan. This is used when operations are nested.

Definition at line 495 of file solver.h.

bool frepple::SolverMRP::State::forceLate

A flag to force the resource solver to move the operationplan to a later date where it is feasible.

Definition at line 503 of file solver.h.

Plannable* frepple::SolverMRP::State::motive

Motive of the current solver.

Definition at line 547 of file solver.h.

Date frepple::SolverMRP::State::q_date

This is the date we are asking for.

Definition at line 509 of file solver.h.

Date frepple::SolverMRP::State::q_date_max

This is the maximum date we are asking for.
In case of a post-operation time there is a difference between q_date and q_date_max.

Definition at line 515 of file solver.h.

FlowPlan* frepple::SolverMRP::State::q_flowplan

This is a pointer to a FlowPlan. It is used for communication between the Operation-Solver and the Buffer-Solver.

Definition at line 529 of file solver.h.

LoadPlan* frepple::SolverMRP::State::q_loadplan

This is a pointer to a LoadPlan. It is used for communication between the Operation-Solver and the Resource-Solver.

Definition at line 525 of file solver.h.

OperationPlan* frepple::SolverMRP::State::q_operationplan

A pointer to an operationplan currently being solved.

Definition at line 532 of file solver.h.

double frepple::SolverMRP::State::q_qty

This is the quantity we are asking for.

Definition at line 506 of file solver.h.


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