class_docstr: Abstract base class for acquisition functions based on Max-value Entropy Search.
  
  This class provides the basic building blocks for constructing max-value
  entropy-based acquisition functions along the lines of [Wang2017mves]_.
  
  Subclasses need to implement `_sample_max_values` and _compute_information_gain`
  methods.
  
  :meta private:
docstr: Set pending design points.
  
  Set "pending points" to inform the acquisition function of the candidate
  points that have been generated but are pending evaluation.
  
  Args:
      X_pending: `n x d` Tensor with `n` `d`-dim design points that have
          been submitted for evaluation but have not yet been evaluated.
docstr_tok: ["Set","pending","design","points",".","Set","``","pending","points","''","to","inform","the","acquisition","function","of","the","candidate","points","that","have","been","generated","but","are","pending","evaluation",".","Args",":","X_pending",":","`","n","x","d","`","Tensor","with","`","n","`","`","d","`","-dim","design","points","that","have","been","submitted","for","evaluation","but","have","not","yet","been","evaluated","."]
code: def set_X_pending(self, X_pending: Optional[Tensor] = None) -> None:
      r"""Set pending design points.
  
      Set "pending points" to inform the acquisition function of the candidate
      points that have been generated but are pending evaluation.
  
      Args:
          X_pending: `n x d` Tensor with `n` `d`-dim design points that have
              been submitted for evaluation but have not yet been evaluated.
      """
      if X_pending is not None:
          X_pending = X_pending.detach().clone()
      self._sample_max_values(
          num_samples=self.num_mv_samples, X_pending=X_pending
      )
      self.X_pending = X_pending
  
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from copy import deepcopy
  from math import log
  from typing import Any, Callable, Optional
  import numpy
  import torch
  from botorch.acquisition.acquisition import AcquisitionFunction, MCSamplerMixin
  from botorch.acquisition.cost_aware import CostAwareUtility, InverseCostWeightedUtility
  from botorch.acquisition.objective import PosteriorTransform
  from botorch.exceptions.errors import UnsupportedError
  from botorch.models.cost import AffineFidelityCostModel
  from botorch.models.model import Model
  from botorch.models.utils import check_no_nans
  from botorch.sampling.normal import SobolQMCNormalSampler
  from botorch.utils.transforms import match_batch_shape, t_batch_mode_transform
  from linear_operator.functions import inv_quad
  from linear_operator.utils.cholesky import psd_safe_cholesky
  from scipy.optimize import brentq
  from scipy.stats import norm
  from torch import Tensor
label_desc: Use image node_id 3 for calling the MaxValueBase obj's underlying member method code with example usage: obj.set_X_pending(X_pending) without return types