Yes, it should be simple to write the code to do this.

  Provide a function that calls SNESVISetVariableBounds() using your criteria 
then call SNESSetUpdate() to have that function called on each iteration of 
SNES to reset the bounds.

  If this will converge to what you desire I have no clue. But each step will 
find a result that satisfies the current bounds you set.

  Barry

  


> On Sep 10, 2020, at 5:15 PM, Alexander B Prescott 
> <[email protected]> wrote:
> 
> Hi there,
> 
> I have a quick question (hopefully) that I didn't find addressed in the 
> documentation or user list archives. Is it possible to change the SNES 
> Variational Inequality bounds from one solver iteration to the next?
> My goal is to update the bounds such that a specific entry in the solution 
> vector remains the supremum throughout the entire execution.
> 
> Best,
> Alexander
> 
> -- 
> Alexander Prescott
> [email protected] <mailto:[email protected]>
> PhD Candidate, The University of Arizona
> Department of Geosciences
> 1040 E. 4th Street
> Tucson, AZ, 85721

Reply via email to