Purpose
 
 
 Get the activity
 
 value of a robust constraint.
 
  Synopsis
 
 
 function getact(rc:robustctr):real
 
 
  Argument
 
  
  Return value
 
 
 Solution value or 0.
 
  Further information
 
 
  This function returns returns the value of the left-hand side of a constraint with the current realization of the solution and the uncertains. Therefore, if a constraint is of the form
 u*x + v*y + z ≤ 3 and
 x,y,zare variables while
 u,v are uncertains, the current realization of
 x,y,z,u,v will be used to return
 u*x + v*y + z. Note that robust equality constraints (for instance,
 u*x + v*y + z = 3) have a special status in Mosel. The value of uncertains
 u and
 v is, in general, related to an inequality constraint and can be safely obtained in this case only. In order to use
 getact for equality robust constraints as well, it would be best to decompose these constraints into two inequality constraints (
 i.e.
 u*x + v*y + z ≤ 3 and
 u*x + v*y + z ≥ 3) and then request
 u and
 v from each of the two constraints. Note that both uncertains might differ in value when requested from either inequality constraint.
 
 
  Related topics
 
  
  Module
 
 
                 
                
                    © 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the
                    property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not
                    convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except
                    solely for internal evaluation purposes to determine whether to purchase a license to the software
                    described in this documentation, or as otherwise set forth in a written software license agreement
                    between you and FICO (or a FICO affiliate). Use of this documentation and the software described in
                    it must conform strictly to the foregoing permitted uses, and no other use is permitted.